{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "[Table of Contents](./table_of_contents.ipynb)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Discrete Bayes Filter"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "%matplotlib inline"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "        <style>\n",
       "        .output_wrapper, .output {\n",
       "            height:auto !important;\n",
       "            max-height:100000px;\n",
       "        }\n",
       "        .output_scroll {\n",
       "            box-shadow:none !important;\n",
       "            webkit-box-shadow:none !important;\n",
       "        }\n",
       "        </style>\n",
       "    "
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#format the book\n",
    "import book_format\n",
    "book_format.set_style()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "The Kalman filter belongs to a family of filters called *Bayesian filters*. Most textbook treatments of the Kalman filter present the Bayesian formula, perhaps shows how it factors into the Kalman filter equations, but mostly keeps the discussion at a very abstract level. \n",
    "\n",
    "That approach requires a fairly sophisticated understanding of several fields of mathematics, and it still leaves much of the work of understanding and forming an intuitive grasp of the situation in the hands of the reader.\n",
    "\n",
    "I will use a different way to develop the topic, to which I owe the work of Dieter Fox and Sebastian Thrun a great debt. It depends on building an intuition on how Bayesian statistics work by tracking an object through a hallway - they use a robot, I use a dog. I like dogs, and they are less predictable than robots which imposes interesting difficulties for filtering. The first published example of this that I can find seems to be Fox 1999 [1], with a fuller example in Fox 2003 [2]. Sebastian Thrun also uses this formulation in his excellent Udacity course Artificial Intelligence for Robotics [3]. In fact, if you like watching videos, I highly recommend pausing reading this book in favor of first few lessons of that course, and then come back to this book for a deeper dive into the topic.\n",
    "\n",
    "Let's now use a simple thought experiment, much like we did with the g-h filter, to see how we might reason about the use of probabilities for filtering and tracking."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Tracking a Dog\n",
    "\n",
    "Let's begin with a simple problem. We have a dog friendly workspace, and so people bring their dogs to work. Occasionally the dogs wander out of offices and down the halls. We want to be able to track them. So during a hackathon somebody invented a sonar sensor to attach to the dog's collar. It emits a signal, listens for the echo, and based on how quickly an echo comes back we can tell whether the dog is in front of an open doorway or not. It also senses when the dog walks, and reports in which direction the dog has moved. It connects to the network via wifi and sends an update once a second.\n",
    "\n",
    "I want to track my dog Simon, so I attach the device to his collar and then fire up Python, ready to write code to track him through the building. At first blush this may appear impossible. If I start listening to the sensor of Simon's collar I might read **door**, **hall**, **hall**, and so on. How can I use that information to determine where Simon is?\n",
    "\n",
    "To keep the problem small enough to plot easily we will assume that there are only 10 positions in the hallway, which we will number 0 to 9, where 1 is to the right of 0. For reasons that will be clear later, we will also assume that the hallway is circular or rectangular. If you move right from position 9, you will be at position 0.  \n",
    "\n",
    "When I begin listening to the sensor I have no reason to believe that Simon is at any particular position in the hallway. From my perspective he is equally likely to be in any position. There are 10 positions, so the probability that he is in any given position is 1/10. \n",
    "\n",
    "Let's represent our belief of his position in a NumPy array. I could use a Python list, but NumPy arrays offer functionality that we will be using soon."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1]\n"
     ]
    }
   ],
   "source": [
    "import numpy as np\n",
    "belief = np.array([1/10]*10)\n",
    "print(belief)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "In [Bayesian statistics](https://en.wikipedia.org/wiki/Bayesian_probability) this is called a [*prior*](https://en.wikipedia.org/wiki/Prior_probability). It is the probability prior to incorporating measurements or other information. More completely, this is called the *prior probability distribution*. A [*probability distribution*](https://en.wikipedia.org/wiki/Probability_distribution) is a collection of all possible probabilities for an event. Probability distributions always sum to 1 because something had to happen; the distribution lists all possible events and the probability of each.\n",
    "\n",
    "I'm sure you've used probabilities before - as in \"the probability of rain today is 30%\". The last paragraph sounds like more of that. But Bayesian statistics was a revolution in probability because it treats probability as a belief about a single event. Let's take an example. I know that if I flip a fair coin infinitely many times I will get 50% heads and 50% tails. This is called [*frequentist statistics*](https://en.wikipedia.org/wiki/Frequentist_inference) to distinguish it from Bayesian statistics. Computations are based on the frequency in which events occur.\n",
    "\n",
    "I flip the coin one more time and let it land. Which way do I believe it landed? Frequentist probability has nothing to say about that; it will merely state that 50% of coin flips land as heads. In some ways it is meaningless to assign a probability to the current state of the coin. It is either heads or tails, we just don't know which. Bayes treats this as a belief about a single event - the strength of my belief or knowledge that this specific coin flip is heads is 50%. Some object to the term \"belief\"; belief can imply holding something to be true without evidence. In this book it always is a measure of the strength of our knowledge. We'll learn more about this as we go.\n",
    "\n",
    "Bayesian statistics takes past information (the prior) into account. We observe that it rains 4 times every 100 days. From this I could state that the chance of rain tomorrow is 1/25. This is not how weather prediction is done. If I know it is raining today and the storm front is stalled, it is likely to rain tomorrow. Weather prediction is Bayesian.\n",
    "\n",
    "In practice statisticians use a mix of frequentist and Bayesian techniques. Sometimes finding the prior is difficult or impossible, and frequentist techniques rule. In this book we can find the prior. When I talk about the probability of something I am referring to the probability that some specific thing is true given past events. When I do that I'm taking the Bayesian approach.\n",
    "\n",
    "Now let's create a map of the hallway. We'll place the first two doors close together, and then another door further away. We will use 1 for doors, and 0 for walls:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "hallway = np.array([1, 1, 0, 0, 0, 0, 0, 0, 1, 0])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "I start listening to Simon's transmissions on the network, and the first data I get from the sensor is **door**. For the moment assume the sensor always returns the correct answer. From this I conclude that he is in front of a door, but which one? I have no reason to believe he is in front of the first, second, or third door. What I can do is assign a probability to each door. All doors are equally likely, and there are three of them, so I assign a probability of 1/3 to each door. "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAu0AAAFlCAYAAABftdZPAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAit0lEQVR4nO3df5SWdZ0//ufIj0FMbIUcQQFHMyUpq6FaUE6r5bTksdrapHUTEzknDqTibK4oewrMZGs3D7UKxopamsrxZ7aHktndRNTalKD1KMds9SOtDXGgBJRvwwD39w8/zGdnB5Ubde633I/HOXNO15v3xfV6veY2nlxc9z0NlUqlEgAAoFgH1LoAAADglQntAABQOKEdAAAKJ7QDAEDhhHYAACic0A4AAIUT2gEAoHBCOwAAFE5oBwCAwgntAABQuKpD+wMPPJAzzjgjI0aMSENDQ+65555XPWfFihVpaWnJoEGDcvTRR+faa6/dl1oBAKAuVR3aX3zxxZx44om5+uqr92r/M888k4997GOZOHFiVq9encsuuywXXHBB7rzzzqqLBQCAetRQqVQq+3xyQ0PuvvvufPKTn3zZPZdccknuvfferF27tntt+vTp+eUvf5mf/vSn+3ppAACoG/3f6Av89Kc/TWtra4+1j370o1myZEm6uroyYMCAXud0dnams7Oz+3jXrl35/e9/n6FDh6ahoeGNLhkAAN5wlUolW7duzYgRI3LAAa/8AMwbHtrXr1+fpqamHmtNTU3ZsWNHNm7cmOHDh/c6Z/78+Zk3b94bXRoAANTcb37zmxx55JGvuOcND+1Jet0d3/1EzsvdNb/00kvT1tbWfbx58+aMGjUqzzzzTA4++OA3rtAa6urqyk9+8pOccsope/zXh3pgBmaQmEG995+YQWIG9d5/YgZJfcxg69ataW5u3qt8+4aH9sMPPzzr16/vsbZhw4b0798/Q4cO3eM5jY2NaWxs7LV+6KG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ef2IGSX3MYPfTJHujqtA+bNiw9OvXr9dd9Q0bNvS6+54kW7duzaOPPprVq1fni1/8YpJk165dqVQq6d+/f5YvX55TTz2113mNjY1pbGzstT5gwID99pu2Wz30+GrMwAwSM6j3/hMzSMyg3vtPzCDZv2dQTV9VvRF14MCBaWlp6fXPFO3t7ZkwYUKv/UOGDMljjz2WNWvWdH9Nnz49xx13XNasWZMPfvCD1VweAADqUtWPx7S1teXss8/OuHHjMn78+CxevDjr1q3L9OnTk7z0aMtzzz2X733veznggAMyduzYHucfdthhGTRoUK91AABgz6oO7ZMnT86mTZty+eWXp6OjI2PHjs2yZcsyevToJElHR8erfmY7AACw9/bpjagzZszIjBkz9vhrN9544yueO3fu3MydO3dfLgsAAHWp6h+uBAAA9C2hHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBw/WtdwJvFe296qg+u8s7Mve3/vOFXWX32sVWf0zf9JyXPAAASfyZSG+60AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACF26fQvnDhwjQ3N2fQoEFpaWnJypUrX3bvXXfdldNOOy1ve9vbMmTIkIwfPz733XffPhcMAAD1purQvnTp0syaNStz5szJ6tWrM3HixEyaNCnr1q3b4/4HHnggp512WpYtW5ZVq1bllFNOyRlnnJHVq1e/5uIBAKAeVB3ar7rqqpx33nmZNm1axowZkwULFmTkyJFZtGjRHvcvWLAgf/u3f5v3v//9OfbYY3PllVfm2GOPzQ9/+MPXXDwAANSDqkL79u3bs2rVqrS2tvZYb21tzcMPP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ACwH6v6mfbJkydn06ZNufzyy9PR0ZGxY8dm2bJlGT16dJKko6Ojx2e2Nzc3Z9myZbnoootyzTXXZMSIEfn2t7+dT3/6069fF/uBxsbGfOUrX+n1WFA9MQMzSMyg3vtPzCAxg3rvPzGDxAz+t4bK3nzGDAAAUDNVPx4DAAD0LaEdAAAKJ7QDAEDhhHYAACic0F6IhQsXprm5OYMGDUpLS0tWrlxZ65L6zAMPPJAzzjgjI0aMSENDQ+65555al9Sn5s+fn/e///05+OCDc9hhh+WTn/xknnzyyVqX1acWLVqUd7/73d0/QGP8+PH50Y9+VOuyamb+/PlpaGjIrFmzal1Kn5o7d24aGhp6fB1++OG1LqtPPffcc/nc5z6XoUOHZvDgwXnPe96TVatW1bqsPnPUUUf1eg00NDRk5syZtS6tz+zYsSN/93d/l+bm5hx44IE5+uijc/nll2fXrl21Lq3PbN26NbNmzcro0aNz4IEHZsKECXnkkUdqXVbNCe0FWLp0aWbNmpU5c+Zk9erVmThxYiZNmtTjozP3Zy+++GJOPPHEXH311bUupSZWrFiRmTNn5mc/+1na29uzY8eOtLa25sUXX6x1aX3myCOPzN///d/n0UcfzaOPPppTTz01n/jEJ/L444/XurQ+98gjj2Tx4sV597vfXetSauKEE05IR0dH99djjz1W65L6zB/+8IecdNJJGTBgQH70ox/liSeeyDe/+c26+YngyUuv///5/d/9wxk/85nP1LiyvvP1r3891157ba6++uqsXbs23/jGN/IP//AP+ad/+qdal9Znpk2blvb29tx000157LHH0tramo985CN57rnnal1abVWouQ984AOV6dOn91g7/vjjK7Nnz65RRbWTpHL33XfXuoya2rBhQyVJZcWKFbUupab+5E/+pHLdddfVuow+tXXr1sqxxx5baW9vr3zoQx+qXHjhhbUuqU995StfqZx44om1LqNmLrnkksrJJ59c6zKKcuGFF1aOOeaYyq5du2pdSp85/fTTK1OnTu2x9qlPfaryuc99rkYV9a1t27ZV+vXrV/mXf/mXHusnnnhiZc6cOTWqqgzutNfY9u3bs2rVqrS2tvZYb21tzcMPP1yjqqilzZs3J0kOPfTQGldSGzt37sxtt92WF198MePHj691OX1q5syZOf300/ORj3yk1qXUzFNPPZURI0akubk5n/3sZ/P000/XuqQ+c++992bcuHH5zGc+k8MOOyzvfe9788///M+1Lqtmtm/fnptvvjlTp05NQ0NDrcvpMyeffHL+7d/+Lb/61a+SJL/85S/z4IMP5mMf+1iNK+sbO3bsyM6dOzNo0KAe6wceeGAefPDBGlVVhqp/Iiqvr40bN2bnzp1pamrqsd7U1JT169fXqCpqpVKppK2tLSeffHLGjh1b63L61GOPPZbx48fnj3/8Y97ylrfk7rvvzjvf+c5al9VnbrvttqxatSqPPvporUupmQ9+8IP53ve+l3e84x353e9+lyuuuCITJkzI448/nqFDh9a6vDfc008/nUWLFqWtrS2XXXZZfv7zn+eCCy5IY2NjpkyZUuvy+tw999yT559/Pp///OdrXUqfuuSSS7J58+Ycf/zx6devX3bu3Jmvfe1r+au/+qtal9YnDj744IwfPz5f/epXM2bMmDQ1NeXWW2/Nf/zHf+TYY4+tdXk1JbQX4n/fRahUKnV1Z4GXfPGLX8x//ud/1uXdhOOOOy5r1qzJ888/nzvvvDPnnHNOVqxYURfB/Te/+U0uvPDCLF++vNfdpXoyadKk7v/9rne9K+PHj88xxxyT7373u2lra6thZX1j165dGTduXK688sokyXvf+948/vjjWbRoUV2G9iVLlmTSpEkZMWJErUvpU0uXLs3NN9+cW265JSeccELWrFmTWbNmZcSIETnnnHNqXV6fuOmmmzJ16tQcccQR6devX973vvflrLPOyi9+8Ytal1ZTQnuNDRs2LP369et1V33Dhg297r6zfzv//PNz77335oEHHsiRRx5Z63L63MCBA/P2t789STJu3Lg88sgj+da3vpXvfOc7Na7sjbdq1aps2LAhLS0t3Ws7d+7MAw88kKuvvjqdnZ3p169fDSusjYMOOijvete78tRTT9W6lD4xfPjwXn9JHTNmTO68884aVVQ7zz77bP71X/81d911V61L6XMXX3xxZs+enc9+9rNJXvoL7LPPPpv58+fXTWg/5phjsmLFirz44ovZsmVLhg8fnsmTJ6e5ubnWpdWUZ9prbODAgWlpael+h/xu7e3tmTBhQo2qoi9VKpV88YtfzF133ZV///d/r/v/U9qtUqmks7Oz1mX0iQ9/+MN57LHHsmbNmu6vcePG5a//+q+zZs2augzsSdLZ2Zm1a9dm+PDhtS6lT5x00km9Pu71V7/6VUaPHl2jimrnhhtuyGGHHZbTTz+91qX0uW3btuWAA3rGs379+tXVRz7udtBBB2X48OH5wx/+kPvuuy+f+MQnal1STbnTXoC2tracffbZGTduXMaPH5/Fixdn3bp1mT59eq1L6xMvvPBCfv3rX3cfP/PMM1mzZk0OPfTQjBo1qoaV9Y2ZM2fmlltuyQ9+8IMcfPDB3f/qcsghh+TAAw+scXV947LLLsukSZMycuTIbN26Nbfddlvuv//+/PjHP651aX3i4IMP7vUehoMOOihDhw6tq/c2fOlLX8oZZ5yRUaNGZcOGDbniiiuyZcuWurm7eNFFF2XChAm58sorc+aZZ+bnP/95Fi9enMWLF9e6tD61a9eu3HDDDTnnnHPSv3/9xZQzzjgjX/va1zJq1KiccMIJWb16da666qpMnTq11qX1mfvuuy+VSiXHHXdcfv3rX+fiiy/Occcdl3PPPbfWpdVWTT+7hm7XXHNNZfTo0ZWBAwdW3ve+99XVx/395Cc/qSTp9XXOOefUurQ+safek1RuuOGGWpfWZ6ZOndr9+n/b295W+fCHP1xZvnx5rcuqqXr8yMfJkydXhg8fXhkwYEBlxIgRlU996lOVxx9/vNZl9akf/vCHlbFjx1YaGxsrxx9/fGXx4sW1LqnP3XfffZUklSeffLLWpdTEli1bKhdeeGFl1KhRlUGDBlWOPvroypw5cyqdnZ21Lq3PLF26tHL00UdXBg4cWDn88MMrM2fOrDz//PO1LqvmGiqVSqU2f10AAAD2hmfaAQCgcEI7AAAUTmgHAIDCCe0AAFA4oR0AAAontAMAQOGEdgAAKJzQDgAAhRPaAQCgcEI7AAAUTmgHAIDCCe0AAFC4/x8ZaxCqnqE58QAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 900x400 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "import kf_book.book_plots as book_plots\n",
    "from kf_book.book_plots import figsize, set_figsize\n",
    "import matplotlib.pyplot as plt\n",
    "\n",
    "belief = np.array([1/3, 1/3, 0, 0, 0, 0, 0, 0, 1/3, 0])\n",
    "book_plots.bar_plot(belief)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "This distribution is called a [*categorical distribution*](https://en.wikipedia.org/wiki/Categorical_distribution), which is a discrete distribution describing the probability of observing $n$ outcomes. It is a [*multimodal distribution*](https://en.wikipedia.org/wiki/Multimodal_distribution) because we have multiple beliefs about the position of our dog. Of course we are not saying that we think he is simultaneously in three different locations, merely that we have narrowed down our knowledge to one of these three locations. My (Bayesian) belief is that there is a 33.3% chance of being at door 0, 33.3% at door 1, and a 33.3% chance of being at door 8.\n",
    "\n",
    "This is an improvement in two ways. I've rejected a number of hallway positions as impossible, and the strength of my belief in the remaining positions has increased from 10% to 33%. This will always happen. As our knowledge improves the probabilities will get closer to 100%.\n",
    "\n",
    "A few words about the [*mode*](https://en.wikipedia.org/wiki/Mode_%28statistics%29)\n",
    "of a distribution. Given a list of numbers, such as {1, 2, 2, 2, 3, 3, 4}, the *mode* is the number that occurs most often. For this set the mode is 2. A distribution can contain more than one mode. The list {1, 2, 2, 2, 3, 3, 4, 4, 4} contains the modes 2 and 4, because both occur three times. We say the former list is [*unimodal*](https://en.wikipedia.org/wiki/Unimodality), and the latter is *multimodal*.\n",
    "\n",
    "Another term used for this distribution is a [*histogram*](https://en.wikipedia.org/wiki/Histogram). Histograms graphically depict the distribution of a set of numbers. The bar chart above is a histogram.\n",
    "\n",
    "I hand coded the `belief` array in the code above. How would we implement this in code? We represent doors with 1, and walls as 0, so we will multiply the hallway variable by the percentage, like so;"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[0.333 0.333 0.    0.    0.    0.    0.    0.    0.333 0.   ]\n"
     ]
    }
   ],
   "source": [
    "belief = hallway * (1/3)\n",
    "print(belief)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Extracting Information from Sensor Readings\n",
    "\n",
    "Let's put Python aside and think about the problem a bit. Suppose we were to read the following from Simon's sensor:\n",
    "\n",
    "  * door\n",
    "  * move right\n",
    "  * door\n",
    "  \n",
    "\n",
    "Can we deduce Simon's location? Of course! Given the hallway's layout there is only one place from which you can get this sequence, and that is at the left end. Therefore we can confidently state that Simon is in front of the second doorway. If this is not clear, suppose Simon had started at the second or third door. After moving to the right, his sensor would have returned 'wall'. That doesn't match the sensor readings, so we know he didn't start there. We can continue with that logic for all the remaining starting positions. The only possibility is that he is now in front of the second door. Our belief is:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "belief = np.array([0., 1., 0., 0., 0., 0., 0., 0., 0., 0.])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "I designed the hallway layout and sensor readings to give us an exact answer quickly. Real problems are not so clear cut. But this should trigger your intuition - the first sensor reading only gave us low probabilities (0.333) for Simon's location, but after a position update and another sensor reading we know more about where he is. You might suspect, correctly, that if you had a very long hallway with a large number of doors that after several sensor readings and positions updates we would either be able to know where Simon was, or have the possibilities narrowed down to a small number of possibilities. This is possible when a set of sensor readings only matches one to a few starting locations.\n",
    "\n",
    "We could implement this solution now, but instead let's consider a real world complication to the problem."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Noisy Sensors\n",
    "\n",
    "Perfect sensors are rare. Perhaps the sensor would not detect a door if Simon sat in front of it while scratching himself, or misread if he is not facing down the hallway. Thus when I get **door** I cannot use 1/3 as the probability. I have to assign less than 1/3 to each door, and assign a small probability to each blank wall position. Something like\n",
    "\n",
    "```Python\n",
    "[.31, .31, .01, .01, .01, .01, .01, .01, .31, .01]\n",
    "```\n",
    "\n",
    "At first this may seem insurmountable. If the sensor is noisy it casts doubt on every piece of data. How can we conclude anything if we are always unsure?\n",
    "\n",
    "The answer, as for the problem above, is with probabilities. We are already comfortable assigning a probabilistic belief to the location of the dog; now we have to incorporate the additional uncertainty caused by the sensor noise. \n",
    "\n",
    "Say we get a reading of **door**, and suppose that testing shows that the sensor is 3 times more likely to be right than wrong. We should scale the probability distribution by 3 where there is a door. If we do that the result will no longer be a probability distribution, but we will learn how to fix that in a moment.\n",
    "\n",
    "Let's look at that in Python code. Here I use the variable `z` to denote the measurement. `z` or `y` are customary choices in the literature for the measurement. As a programmer I prefer meaningful variable names, but I want you to be able to read the literature and/or other filtering code, so I will start introducing these abbreviated names now."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "belief: [0.3 0.3 0.1 0.1 0.1 0.1 0.1 0.1 0.3 0.1]\n",
      "sum = 1.6000000000000003\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAu0AAAFlCAYAAABftdZPAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAi80lEQVR4nO3df5SWdZ0//ufIj0FMbIUcQQFHM6VIq6FaUE6r5bTksdrapHUTEzknDvgDZ3NF2VNgJlu7eahVMFbUslROaWV7KJndLSS1TQlaj3LUVj/S2hAHSgbl2zDA/f3DD/PZ2UHlRp37Lffjcc6c4/XmfXG9Xq+5jzy5uO57GiqVSiUAAECxDqp1AQAAwEsT2gEAoHBCOwAAFE5oBwCAwgntAABQOKEdAAAKJ7QDAEDhhHYAACic0A4AAIUT2gEAoHBVh/Z77703Z511VkaNGpWGhoZ8//vff9lzVq1alZaWlgwZMiTHHntsbrjhhv2pFQAA6lLVof3555/PySefnOuuu26f9j/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vvjFL2bMmDF529velrVr1+baa6/N9OnTa11av7nnnntSqVRywgkn5Ne//nUuu+yynHDCCTn//PNrXVpt1fSza+hx/fXXV8aOHVsZPHhw5V3velddfdzfT37yk0qSPl/nnXderUvrF3vrPUnl5ptvrnVp/Wb69Ok9r/83velNlfe///2VlStX1rqsmqrHj3ycOnVqZeTIkZVBgwZVRo0aVfnYxz5WeeSRR2pdVr/64Q9/WBk/fnylsbGxcuKJJ1aWLl1a65L63T333FNJUnnsscdqXUpNdHZ2Vi655JLKmDFjKkOGDKkce+yxlXnz5lW6urpqXVq/Wb58eeXYY4+tDB48uHLkkUdWZs+eXXn22WdrXVbNNVQqlUpt/roAAADsC8+0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBw/z/hqS0s2dKo8QAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 900x400 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "def update_belief(hall, belief, z, correct_scale):\n",
    "    for i, val in enumerate(hall):\n",
    "        if val == z:\n",
    "            belief[i] *= correct_scale\n",
    "\n",
    "belief = np.array([0.1] * 10)\n",
    "reading = 1 # 1 is 'door'\n",
    "update_belief(hallway, belief, z=reading, correct_scale=3.)\n",
    "print('belief:', belief)\n",
    "print('sum =', sum(belief))\n",
    "plt.figure()\n",
    "book_plots.bar_plot(belief)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "This is not a probability distribution because it does not sum to 1.0. But the code is doing mostly the right thing - the doors are assigned a number (0.3) that is 3 times higher than the walls (0.1). All we need to do is normalize the result so that the probabilities correctly sum to 1.0. Normalization is done by dividing each element by the sum of all elements in the list. That is easy with NumPy:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([0.188, 0.188, 0.062, 0.062, 0.062, 0.062, 0.062, 0.062, 0.188,\n",
       "       0.062])"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "belief / sum(belief)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "FilterPy implements this with the `normalize` function:\n",
    "\n",
    "```Python\n",
    "from filterpy.discrete_bayes import normalize\n",
    "normalize(belief)\n",
    "```\n",
    "\n",
    "It is a bit odd to say \"3 times as likely to be right as wrong\". We are working in probabilities, so let's specify the probability of the sensor being correct, and compute the scale factor from that. The equation for that is\n",
    "\n",
    "$$scale =  \\frac{prob_{correct}}{prob_{incorrect}} = \\frac{prob_{correct}} {1-prob_{correct}}$$\n",
    "\n",
    "\n",
    "\n",
    "Also, the `for` loop is cumbersome. As a general rule you will want to avoid using `for` loops in NumPy code. NumPy is implemented in C and Fortran, so if you avoid for loops the result often runs 100x faster than the equivalent loop.\n",
    "\n",
    "How do we get rid of this `for` loop? NumPy lets you index arrays with boolean arrays. You create a boolean array with logical operators. We can find all the doors in the hallway with:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([ True,  True, False, False, False, False, False, False,  True,\n",
       "       False])"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "hallway == 1"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "When you use the boolean array as an index to another array it returns only the elements where the index is `True`. Thus we can replace the `for` loop with\n",
    "\n",
    "```python\n",
    "belief[hall==z] *= scale\n",
    "```\n",
    "and only the elements which equal `z` will be multiplied by `scale`.\n",
    "\n",
    "Teaching you NumPy is beyond the scope of this book. I will use idiomatic NumPy constructs and explain them the first time I present them. If you are new to NumPy there are many blog posts and videos on how to use NumPy efficiently and idiomatically.\n",
    "\n",
    "Here is our improved version:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "sum = 1.0\n",
      "probability of door = 0.1875\n",
      "probability of wall = 0.06249999999999999\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAvYAAAFlCAYAAACA+6xQAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAqG0lEQVR4nO3df1BV953/8RciXNQVtv4IYESClopEYxCMXgx2sgZcdB3b1EqbLdoqmzKYRGTarQQzFfODupso2iiGrQ2rHZXpGGuzQ1auu43oQm1Cwc1kbWsnJmQslGCqF/WbK8L5/uF4d28uGi4x9+DnPh8zdyb3w+ec+36/vRNeHi+HMMuyLAEAAAC4ow2zuwAAAAAAnx3BHgAAADAAwR4AAAAwAMEeAAAAMADBHgAAADAAwR4AAAAwAMEeAAAAMADBHgAAADAAwR4AAAAwAMEeAAAAMMCggv3OnTuVlJSkqKgopaen6/jx4zfde+LECc2bN09jx47ViBEjlJKSoq1bt/rtO3jwoFJTU+VwOJSamqpDhw4NpjQAAAAgJAUc7Gtra1VcXKyysjK1tLQoKytLubm5amtr63f/qFGj9Pjjj6uhoUGnT5/Whg0btGHDBlVXV3v3NDU1KS8vT/n5+Tp16pTy8/O1fPlynTx5cvCdAQAAACEkzLIsK5AD5syZo1mzZqmqqsq7Nm3aNH3lK19RRUXFgM7xyCOPaNSoUdq7d68kKS8vT263W6+//rp3z9/+7d/qC1/4gvbv3x9IeQAAAEBIGh7I5qtXr6q5uVnr16/3Wc/JyVFjY+OAztHS0qLGxkY9++yz3rWmpiatW7fOZ9/ChQtVWVl50/N4PB55PB7v876+Pn300UcaO3aswsLCBlQLAAAAMJRZlqXu7m5NmDBBw4bd+sM2AQX7rq4u9fb2KjY21mc9NjZWHR0dtzx24sSJ+vDDD3Xt2jVt3LhRBQUF3q91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qwYIFVX19vd1m2CrXbXebl5Vnx8fFWRESENWHCBOuRRx6x3nnnHbvLCrrXXnvNmj59uuVwOKyUlBSrurra7pKC7siRI5Yk6/e//73dpQSd2+221q5da02aNMmKioqyJk+ebJWVlVkej8fu0oKqtrbWmjx5shUZGWnFxcVZa9assS5cuGB3WbYLsyzLsuevFAAAAABuFz5jDwAAABiAYA8AAAAYgGAPAAAAGIBgDwAAABiAYA8AAAAYgGAPAAAAGIBgDwAAABiAYA8AAAAYgGAPAAAAGIBgDwAAABiAYA8AAAAYgGAPAAAAGOD/Ax+PYQewmFLyAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 900x400 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "from filterpy.discrete_bayes import normalize\n",
    "\n",
    "def scaled_update(hall, belief, z, z_prob): \n",
    "    scale = z_prob / (1. - z_prob)\n",
    "    belief[hall==z] *= scale\n",
    "    normalize(belief)\n",
    "\n",
    "belief = np.array([0.1] * 10)\n",
    "scaled_update(hallway, belief, z=1, z_prob=.75)\n",
    "\n",
    "print('sum =', sum(belief))\n",
    "print('probability of door =', belief[0])\n",
    "print('probability of wall =', belief[2])\n",
    "book_plots.bar_plot(belief, ylim=(0, .3))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    " We can see from the output that the sum is now 1.0, and that the probability of a door vs wall is still three times larger. The result also fits our intuition that the probability of a door must be less than 0.333, and that the probability of a wall must be greater than 0.0. Finally, it should fit our intuition that we have not yet been given any information that would allow us to distinguish between any given door or wall position, so all door positions should have the same value, and the same should be true for wall positions.\n",
    " \n",
    "This result is called the [*posterior*](https://en.wikipedia.org/wiki/Posterior_probability), which is short for *posterior probability distribution*. All this means is a probability distribution *after* incorporating the measurement information (posterior means 'after' in this context). To review, the *prior* is the probability distribution before including the measurement's information. \n",
    "\n",
    "Another term is the [*likelihood*](https://en.wikipedia.org/wiki/Likelihood_function). When we computed `belief[hall==z] *= scale` we were computing how *likely* each position was given the measurement. The likelihood is not a probability distribution because it does not sum to one.\n",
    "\n",
    "The combination of these gives the equation\n",
    "\n",
    "$$\\mathtt{posterior} = \\frac{\\mathtt{likelihood} \\times \\mathtt{prior}}{\\mathtt{normalization}}$$ \n",
    "\n",
    "When we talk about the filter's output we typically call the state after performing the prediction the *prior* or *prediction*, and we call the state after the update either the *posterior* or the *estimated state*. \n",
    "\n",
    "It is very important to learn and internalize these terms as most of the literature uses them extensively.\n",
    "\n",
    "Does `scaled_update()` perform this computation? It does. Let me recast it into this form:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [],
   "source": [
    "def scaled_update(hall, belief, z, z_prob): \n",
    "    scale = z_prob / (1. - z_prob)\n",
    "    likelihood = np.ones(len(hall))\n",
    "    likelihood[hall==z] *= scale\n",
    "    return normalize(likelihood * belief)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "This function is not fully general. It contains knowledge about the hallway, and how we match measurements to it. We always strive to write general functions. Here we will remove the computation of the likelihood from the function, and require the caller to compute the likelihood themselves.\n",
    "\n",
    "Here is a full implementation of the algorithm:\n",
    "\n",
    "```python\n",
    "def update(likelihood, prior):\n",
    "    return normalize(likelihood * prior)\n",
    "```\n",
    "\n",
    "Computation of the likelihood varies per problem. For example, the sensor might not return  just 1 or 0, but a `float` between 0 and 1 indicating the probability of being in front of a door. It might use computer vision and report a blob shape that you then probabilistically match to a door. It might use sonar and return a distance reading. In each case the computation of the likelihood will be different. We will see many examples of this throughout the book, and learn how to perform these calculations.\n",
    "\n",
    "FilterPy implements `update`. Here is the previous example in a fully general form:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([0.188, 0.188, 0.062, 0.062, 0.062, 0.062, 0.062, 0.062, 0.188,\n",
       "       0.062])"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from filterpy.discrete_bayes import update\n",
    "\n",
    "def lh_hallway(hall, z, z_prob):\n",
    "    \"\"\" compute likelihood that a measurement matches\n",
    "    positions in the hallway.\"\"\"\n",
    "    \n",
    "    try:\n",
    "        scale = z_prob / (1. - z_prob)\n",
    "    except ZeroDivisionError:\n",
    "        scale = 1e8\n",
    "\n",
    "    likelihood = np.ones(len(hall))\n",
    "    likelihood[hall==z] *= scale\n",
    "    return likelihood\n",
    "\n",
    "belief = np.array([0.1] * 10)\n",
    "likelihood = lh_hallway(hallway, z=1, z_prob=.75)\n",
    "update(likelihood, belief)  "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Incorporating Movement\n",
    "\n",
    "Recall how quickly we were able to find an exact solution when we incorporated a series of measurements and movement updates. However, that occurred in a fictional world of perfect sensors. Might we be able to find an exact solution with noisy sensors?\n",
    "\n",
    "Unfortunately, the answer is no. Even if the sensor readings perfectly match an extremely complicated hallway map, we cannot be 100% certain that the dog is in a specific position - there is, after all, a tiny possibility that every sensor reading was wrong! Naturally, in a more typical situation most sensor readings will be correct, and we might be close to 100% sure of our answer, but never 100% sure. This may seem complicated, but let's go ahead and program the math.\n",
    "\n",
    "First let's deal with the simple case - assume the movement sensor is perfect, and it reports that the dog has moved one space to the right. How would we alter our `belief` array?\n",
    "\n",
    "I hope that after a moment's thought it is clear that we should shift all the values one space to the right. If we previously thought there was a 50% chance of Simon being at position 3, then after he moved one position to the right we should believe that there is a 50% chance he is at position 4. The hallway is circular, so we will use modulo arithmetic to perform the shift."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAvYAAAF0CAYAAABIcX1uAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQG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995ynzxtvvKFrrrlGt912m86fP+95DBgwQB06dLjs3RD+9re/SZLPJSe33367mjdv7vPRab9+/XTdddd5tb3xxhu6+eab1alTJ685jB07VpK0c+fOy671hhtuUP/+/b3a7rrrLpWUlOiDDz7wav/Zz37m9Tw3N1fffPONpk2b5hX/woULuvXWW7V3716dPn1ap0+f1t69e/XTn/5ULpfLs33Lli1r9Z2FN998U9ddd51uueWWy/atjby8PJ05c8Zn30dFRenHP/6xz753OBw+8+zXr5+++OILv8wHQMPz4osvKjw8XHfccYckqUWLFrr99tu1e/duHTx4sE5jnj17Vn/96181ceJENWvWzCtvJicn6+zZs3r33Xe9trk0715OdXl2165dqqioqHHsN954Qw6HQ3fffbfX3Dp06KD+/ft7jmt5eXk6e/asfv7zn3ttP3z4cEVHR9c4v9LSUu3cuVOTJ0/223efrB5PBwwYoK5du3qeu1wuXXfddeT0RoIvz8KyXr16+Xx59osvvtCvfvUr3X333brmmmv09ddf67vvvlNYWFiVY1zuy1MnTpxQ06ZNfRKbw+FQhw4ddOLECa/2qu7o8vXXX2vr1q0+1/7Xdg6S1KFDh2rbLjeHr7/+WpI0adKkasf/5ptv5HA4dOHChRpj1eTYsWNeSfhKVa6rqn3aqVMnud1ur7ZmzZp5HSili18IO3v2rN/mBKDh+Oyzz7Rr1y797Gc/kzHGc532pEmT9NJLL2nt2rVauHCh5XFPnDih8+fP69lnn9Wzzz5bZZ9L87bVu3lVl2fPnTunU6dOqVWrVtWO/fXXX8sYo8jIyCrH7t69u2cdNcWqybfffquKigp16dKl5oVYYPV42qZNG58xnE6nzpw547c5IXAo7OEX/fr107Zt2/Tpp59qyJAhatu2rdq0aaO33nqryv4tW7ascbw2bdro/PnzOnbsmFcyMv//LTYHDx7s1f/Se71LUtu2bdWvXz899dRTVcbo1KnT5Zal4uLiatsuTX6XzqFt27aSpGeffbbaux5ERkZ67uRQU6yatGvXTv/+978v26+2KtdVVFTk89pXX33lWReAq9PatWtljNGf/vQn/elPf/J5/Q9/+IOefPJJhYSEWBr32muvVUhIiFJSUjR79uwq+8TExHg9ryr316S6PBsWFuZzq+WqcrrD4dDu3bvldDp9xqlsq8yh1cWq6R7zrVu3VkhIiN9zupXjKRo3LsWBXxQUFEiSJ2mMHz9eJ06cUEVFhQYNGuTzuP7662scb/To0ZKkV155xat948aNOn36tOf1mowfP17//Oc/1aNHjyrnUJvC/qOPPtL+/fu92l599VW1bNlSAwcOrHHbESNG6JprrtGBAweqjD9o0CCFhYWpefPmGjJkiDZt2uR1lvvkyZPaunXrZec4duxYffrpp56PW6tSecCpzRmXhIQEhYeH++z7f//73/rb3/5Wq30PwJ4qKir0hz/8QT169NDbb7/t83jkkUdUVFRU5R1gKlWXj5o1a6abb75Z+fn56tevX5U5s6qzyVZUl2dHjhx52f8RGT9+vIwxOnLkSJVz69u3ryRp2LBhcrlc+uMf/+i1fW5u7mUvZwkPD9dNN92k1157rcZPla3kdH8cT9F4cMYelv3zn//03C7yxIkT2rRpk9xutyZOnOg5m3LHHXfoj3/8o5KTkzVnzhwNGTJEoaGh+ve//623335bEyZM0MSJE6uNkZiYqDFjxujRRx9VSUmJRowYoQ8//FBPPPGE4uLilJKSctl5LliwQG63W8OHD9dDDz2k66+/XmfPntXhw4eVk5Oj1atXX/bjzk6dOul//a//pfT0dHXs2FGvvPKK3G63Fi1adNl7Grdo0ULPPvuspk2bpm+++UaTJk1S+/btdezYMe3fv1/Hjh3TqlWrJEm/+c1vdOuttyoxMVGPPPKIKioqtGjRIjVv3lzffPNNjXHmzp2r7OxsTZgwQfPmzdOQIUN05swZ7dy5U+PHj9fNN9+sli1bKjo6Wlu2bNHo0aPVunVrtW3btsozR9dcc40ef/xx/frXv9bUqVN155136sSJE8rIyJDL5dITTzxR844HYFtvvvmmvvrqKy1atKjKH5fq06ePnnvuOb344osaP358lWPUlI+WLVumG2+8USNHjtQvfvELdevWTSdPntRnn32mrVu31ngCozZCQkKUmJio1NRUXbhwQYsWLVJJSYnnFsk1GTFihO677z7953/+p95//32NGjVKzZ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EC9sfwDVQAAAAAaHgp7AAAAwAYo7AEAAAAboLAHAAAAbIDC3oKVK1cqJiZGLpdL8fHx2r17d0Dj7dq1S7fddps6deokh8OhP//5zwGNJ1386fbBgwerZcuWat++vX7yk5/oX//6V8Djrlq1Sv369fP8yENCQoLefPPNgMf9oYULF8rhcGju3LkBjZOeni6Hw+H16NChQ0BjStKRI0d09913q02bNmrWrJkGDBigffv2BSxet27dfNbpcDg0e/bsgMWUpPPnz+uxxx5TTEyMwsPD1b17dy1YsEAXLlwIaNyTJ09q7ty5io6OVnh4uIYPH669e/cGNCYCi5wfGOR7++V7KTg5n3zvi8K+lrKzszV37lzNnz9f+fn5GjlypMaOHavCwsKAxTx9+rT69++v5557LmAxLrVz507Nnj1b7777rtxut86fP6+kpCSdPn06oHG7dOmip59+Wu+//77ef/99/fjHP9aECRP00UcfBTRupb1792rNmjXq169fvcS74YYbVFRU5Hn84x//CGi8b7/9ViNGjFBoaKjefPNNHThwQM8880xAf71z7969Xmus/FGi22+/PWAxJWnRokVavXq1nnvuOX388cf63e9+p9///vd69tlnAxp3xowZcrvdevnll/WPf/xDSUlJuuWWW3TkyJGAxkVgkPMDl/PJ9/bL91Jwcj75vgrBvt9mYzFkyBAzc+ZMr7bY2Fgzb968eokvyWzevLleYv3Q0aNHjSSve1fXl2uvvda88MILAY9z8uRJ07NnT+N2u81NN91k5syZE9B4TzzxhOnfv39AY1zq0UcfNTfeeGO9xrzUnDlzTI8ePcyFCxcCGmfcuHHm3nvv9Wr76U9/au6+++6AxSwtLTUhISHmjTfe8Grv37+/mT9/fsDiInDI+fWb88n3/tMQ8r0x9ZPzyfe+OGNfC+fOndO+ffuUlJTk1Z6UlKTc3Nwgzap+fP/995Kk1q1b11vMiooKbdiwQadPn1ZCQkLA482ePVvjxo3TLbfcEvBYlQ4ePKhOnTopJiZGd9xxhz7//POAxnv99dc1aNAg3X777Wrfvr3i4uL0v//3/w5ozB86d+6cXnnlFd17771yOBwBjXXjjTfqr3/9qz799FNJ0v79+7Vnzx4lJycHLOb58+dVUVEhl8vl1R4eHs4vqjZC5Pz6y/nke/8Ldr6X6i/nk++rEOz/s2gMjhw5YiSZv//9717tTz31lLnuuuvqZQ4KwtmbCxcumNtuu63e/s//ww8/NM2bNzchISGmVatW5i9/+UvAY65fv97ccMMN5syZM8YYUy9ncHJycsyf/vQn8+GHH3rOGkVGRprjx48HLKbT6TROp9OkpaWZDz74wKxevdq4XC7zhz/8IWAxfyg7O9uEhISYI0eOBDzWhQsXzLx584zD4TBNmzY1DofD/Pa3vw143ISEBHPTTTeZI0eOmPPnz5uXX37ZOByOessR8B9yfuBzPvnevvnemPrL+eR7XxT2tVCZ5HNzc73an3zySXP99dfXyxyCkeRnzZploqOjzZdfflkv8crKyszBgwfN3r17zbx580zbtm3NRx99FLB4hYWFpn379qagoMDTVh+J/lKnTp0ykZGR5plnnglYjNDQUJOQkODV9uCDD5phw4YFLOYPJSUlmfHjx9dLrPXr15suXbqY9evXmw8//NCsW7fOtG7d2mRlZQU07meffWZGjRplJJmQkBAzePBg8/Of/9z06tUroHHhf+T8wOd88r19870x9Zfzyfe+KOxroayszISEhJhNmzZ5tT/00ENm1KhR9TKH+k7yDzzwgOnSpYv5/PPP6y3mpUaPHm3uu+++gI2/efNmzz/Kyock43A4TEhIiDl//nzAYl/qlltu8bme15+6du1qpk+f7tW2cuVK06lTp4DFrHT48GHTpEkT8+c//zngsYwxpkuXLua5557zavvNb35TbwXZqVOnzFdffWWMMWby5MkmOTm5XuLCf8j59Y987z/BzPfG1G/OJ9/74hr7WggLC1N8fLznG96V3G63hg8fHqRZBYYxRg888IA2bdqkv/3tb4qJiQnqXMrKygI2/ujRo/WPf/xDBQUFnsegQYP085//XAUFBQoJCQlY7B8qKyvTxx9/rI4dOwYsxogRI3xuYffpp58qOjo6YDErvfTSS2rfvr3GjRsX8FiSVFpaqiZNvFNbSEhIwG9/Vql58+bq2LGjvv32W23btk0TJkyol7jwH3J+cOZBvvePYOZ7qX5zPvm+CsH9/4rGY8OGDSY0NNS8+OKL5sCBA2bu3LmmefPm5vDhwwGLefLkSZOfn2/y8/ONJLNkyRKTn59vvvjii4DF/MUvfmFatWpl3nnnHVNUVOR5lJaWBiymMcakpaWZXbt2mUOHDpkPP/zQ/PrXvzZNmjQx27dvD2jcS9XHR7OPPPKIeeedd8znn39u3n33XTN+/HjTsmXLgL6X/ud//sc0bdrUPPXUU+bgwYPmj3/8o2nWrJl55ZVXAhbTGGMqKipM165dzaOPPhrQOD80bdo007lzZ/PGG2+YQ4cOmU2bNpm2bduaX/3qVwGN+9Zbb5k333zTfP7552b79u2mf//+ZsiQIebcuXMBjYvAIOcHLueT7+2Z742p/5xPvvdFYW/BihUrTHR0tAkLCzMDBw4M+O3A3n77bSPJ5zFt2rSAxawqniTz0ksvBSymMcbce++9nn3brl07M3r06HpP8sbUT6KfMmWK6dixowkNDTWdOnUyP/3pTwN6bWmlrVu3mj59+hin02liY2PNmjVrAh5z27ZtRpL517/+FfBYlUpKSsycOXNM165djcvlMt27dzfz5883ZWVlAY2bnZ1tunfvbsLCwkyHDh3M7NmzzXfffRfQmAgscn5gkO/tme+Nqf+cT7735TDGmPr6dAAAAABAYHCNPQAAAGADFPYAAACADVDYAwAAADZAYQ8AAADYAIU9AAAAYAMU9gAAAIANUNgDAAAANkBhDwAAANgAhT0AAABgAxT2AAAAgA1Q2AMAAAA2QGEPAAAA2MD/B7qSt02nOmRsAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 900x400 with 2 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "def perfect_predict(belief, move):\n",
    "    \"\"\" move the position by `move` spaces, where positive is \n",
    "    to the right, and negative is to the left\n",
    "    \"\"\"\n",
    "    n = len(belief)\n",
    "    result = np.zeros(n)\n",
    "    for i in range(n):\n",
    "        result[i] = belief[(i-move) % n]\n",
    "    return result\n",
    "        \n",
    "belief = np.array([.35, .1, .2, .3, 0, 0, 0, 0, 0, .05])\n",
    "plt.subplot(121)\n",
    "book_plots.bar_plot(belief, title='Before prediction', ylim=(0, .4))\n",
    "\n",
    "belief = perfect_predict(belief, 1)\n",
    "plt.subplot(122)\n",
    "book_plots.bar_plot(belief, title='After prediction', ylim=(0, .4))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "We can see that we correctly shifted all values one position to the right, wrapping from the end of the array back to the beginning. \n",
    "\n",
    "The next cell animates this so you can see it in action. Use the slider to move forwards and backwards in time. This simulates Simon walking around and around the hallway. It does not yet incorporate new measurements so the probability distribution does not change shape, only position."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "c65bc79da49448efb42e0bfd882986e4",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "interactive(children=(IntSlider(value=0, description='time_step', max=19), Output()), _dom_classes=('widget-in…"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "from ipywidgets import interact, IntSlider\n",
    "\n",
    "belief = np.array([.35, .1, .2, .3, 0, 0, 0, 0, 0, .05])\n",
    "perfect_beliefs = []\n",
    "\n",
    "for _ in range(20):\n",
    "    # Simon takes one step to the right\n",
    "    belief = perfect_predict(belief, 1)\n",
    "    perfect_beliefs.append(belief)\n",
    "\n",
    "def simulate(time_step):\n",
    "    book_plots.bar_plot(perfect_beliefs[time_step], ylim=(0, .4))\n",
    "    plt.show()\n",
    "    \n",
    "interact(simulate, time_step=IntSlider(value=0, max=len(perfect_beliefs)-1));"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Terminology\n",
    "\n",
    "Let's pause a moment to review terminology. I introduced this terminology in the last chapter, but let's take a second to help solidify your knowledge. \n",
    "\n",
    "The *system* is what we are trying to model or filter. Here the system is our dog. The *state* is its current configuration or value. In this chapter the state is our dog's position. We rarely know the actual state, so we say our filters produce the *estimated state* of the system. In practice this often gets called the state, so be careful to understand the context.\n",
    " \n",
    "One cycle of prediction and updating with a measurement is called the state or system *evolution*, which is short for *time evolution* [7]. Another term is *system propagation*. It refers to how the state of the system changes over time. For filters, time is usually a discrete step, such as 1 second. For our dog tracker the system state is the position of the dog, and the state evolution is the position after a discrete amount of time has passed.\n",
    "\n",
    "We model the system behavior with the *process model*. Here, our process model is that the dog moves one or more positions at each time step. This is not a particularly accurate model of how dogs behave. The error in the model is called the *system error* or *process error*. \n",
    "\n",
    "The prediction is our new *prior*. Time has moved forward and we made a prediction without benefit of knowing the measurements. \n",
    "\n",
    "Let's work an example. The current position of the dog is 17 m. Our epoch is 2 seconds long, and the dog is traveling at 15 m/s. Where do we predict he will be in two seconds? \n",
    "\n",
    "Clearly,\n",
    "\n",
    "$$ \\begin{aligned}\n",
    "\\bar x &= 17 + (15*2) \\\\\n",
    "&= 47\n",
    "\\end{aligned}$$\n",
    "\n",
    "I use bars over variables to indicate that they are priors (predictions). We can write the equation for the process model like this:\n",
    "\n",
    "$$ \\bar x_{k+1} = f_x(\\bullet) + x_k$$\n",
    "\n",
    "$x_k$ is the current position or state. If the dog is at 17 m then $x_k = 17$.\n",
    "\n",
    "$f_x(\\bullet)$ is the state propagation function for x. It describes how much the $x_k$ changes over one time step. For our example it performs the computation $15 \\cdot 2$ so we would define it as \n",
    "\n",
    "$$f_x(v_x, t) = v_k t$$."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Adding Uncertainty to the Prediction\n",
    "\n",
    "`perfect_predict()` assumes perfect measurements, but all sensors have noise. What if the sensor reported that our dog moved one space, but he actually moved two spaces, or zero? This may sound like an insurmountable problem, but let's model it and see what happens.\n",
    "\n",
    "Assume that the sensor's movement measurement is 80% likely to be correct, 10% likely to overshoot one position to the right, and 10% likely to undershoot to the left. That is, if the movement measurement is 4 (meaning 4 spaces to the right), the dog is 80% likely to have moved 4 spaces to the right, 10% to have moved 3 spaces, and 10% to have moved 5 spaces.\n",
    "\n",
    "Each result in the array now needs to incorporate probabilities for 3 different situations. For example, consider the reported movement of 2. If we are 100% certain the dog started from position 3, then there is an 80% chance he is at 5, and a 10% chance for either 4 or 6. Let's try coding that:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAu0AAAF0CAYAAACXPwdxAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAq4UlEQVR4nO3dfXRU9Z3H8c+QhwmgwZJASHgIwcUKZUUboAZFUCAsIFJxCx5UVOBsY0AIqVVi3GNANC2tHFQM6AKyIIX4AK61UZizIg9GK2BSXaHVFTAKCZjYkkjs5Om3f7jJaUzATJg782Pyfp2TP+Zy7/38LjP5zofJMHEZY4wAAAAAWKtTsBcAAAAA4Nwo7QAAAIDlKO0AAACA5SjtAAAAgOUo7QAAAIDlKO0AAACA5SjtAAAAgOUo7QAAAIDlKO0AAACA5SjtCBk5OTlyuVwqLy/36/n+0ZgxYzRmzJh2na+mpkZpaWmKj49XWFiYrrzyyvNfJADAL/r376+77ror2MsAzio82AsALiR5eXntPnb16tV65pln9NRTTyk5OVkXXXSRH1cGADgf27dvV3R0dLCXAZwVpR3wweDBg9t97P/8z/+oc+fOmj9/vh9XBAA4H9988406d+6sq666ym/nrK+vV11dndxut9/OCfD2GISczz//XNOmTVN0dLS6deum22+/XV9++WWzffLz85WSkqKuXbvqoosu0oQJE1RUVPS9527t7TE1NTVatmyZLr/8crndbvXo0UN33313s0yXy6W1a9fqm2++kcvlksvl0oYNG/xxuQDQ4TW+nbGoqOic879///668cYbtW3bNl111VWKiorSkiVLmv7su2+PKSkp0e23366ePXvK7XZr0KBBevzxx9XQ0NC0z7Fjx+RyubR8+XItW7ZMSUlJcrvd2rVrV0CuHR0Hr7Qj5Nx8882aPn260tLS9NFHH+nf//3fdejQIf3xj39URESEHnvsMT300EO6++679dBDD6mmpka/+c1vNGrUKL333ns+vZre0NCgqVOnau/evbr//vs1cuRIffbZZ3r44Yc1ZswYHThwQJ07d9Y777yjRx55RLt27dKbb74pSbr00kud+isAgA7p++a/JL3//vs6fPiwHnroISUlJalr166tnuvLL7/UyJEjVVNTo0ceeUT9+/fXa6+9pvvuu0+ffvppi7dLPvnkk7rsssv029/+VtHR0Ro4cKDj14uOhdKOkDNt2jQtX75ckpSamqq4uDjddttteuGFF3Tdddfp4Ycf1vz58/Xkk082HTN+/HgNHDhQS5YsUX5+fpuzXnjhBb3xxht6+eWXNW3atKbtQ4cO1fDhw7Vhwwbdc889uvrqq9WjRw916tRJV199tf8uFgDQ5Fzz/7bbbpMknTp1SocOHdJll112znOtWLFCx48f1x//+EeNGDFCkjRhwgTV19drzZo1ysjIaHaOqKgo7dixo+kfB4C/8fYYhJzGwdxo+vTpCg8P165du7Rjxw7V1dVp1qxZqqura/qKiorS6NGj9dZbb/mU9dprr+mSSy7RlClTmp3vyiuvVK9evXw+HwCg/c41/xtdccUV31vYJenNN9/U4MGDmwp7o7vuukvGmKafmja66aabKOxwFK+0I+T06tWr2e3w8HDFxMSooqJCJ0+elCQNHz681WM7dfLt37EnT57U3/72N0VGRrb65/76+EkAwPc71/xvFB8f36ZzVVRUqH///i22JyQkNP35P2rreYH2orQj5JSVlal3795Nt+vq6lRRUaGYmBjFxsZKkl566SUlJiaed1ZsbKxiYmL0xhtvtPrnF1988XlnAADa5lzzv9F3f//G2cTExKi0tLTF9hMnTkhS0/OJr+cF2ovSjpCzefNmJScnN91+4YUXVFdXpzFjxujaa69VeHi4Pv30U91yyy3nnXXjjTdq69atqq+v109+8pPzPh8AoP3ONf99NXbsWOXm5ur999/Xj3/846btGzdulMvl0vXXX++PJQNtRmlHyNm2bZvCw8M1fvz4pk8PGDp0qKZPn67IyEgtXbpU2dnZOnLkiP7lX/5FP/jBD3Ty5Em999576tq1a9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0dzvCsSPS3/xi1+Yt956yxw5csS8++675sYbbzQXX3yxo4+l9957z4SHh5tHH33UfPLJJ2bz5s2mS5cu5vnnn3css1F9fb3p16+feeCBBxzPMsaYO++80/Tu3du89tpr5ujRo2bbtm0mNjbW3H///Y7mvvHGG+b11183R44cMTt37jRDhw41I0aMMDU1NY7mwhnBmPmBnvfGBGfmM++dnffGBG/md5R5b4y9M5/S/v+efvppk5iYaCIjI82Pf/zjgHwk1q5du4ykFl933nmnI3mtZUkyzz33nCN5jWbPnt30d9ujRw8zduzYgA9wYwIzxGfMmGHi4+NNRESESUhIMNOmTXP0vZyNfv/735shQ4YYt9ttLr/8cvPss886nmmMMTt27DCSzF/+8peA5FVWVpqFCxeafv36maioKDNgwACTnZ1tvF6vo7n5+flmwIABJjIy0vTq1cvMmzfP/O1vf3M0E84K9MwP9Lw3Jjgzn3nv/Lw3Jjgzv6PMe2PsnfkuY4wJ1Kv6AAAAAHzX4d/TDgAAANiO0g4AAABYjtIOAAAAWI7SDgAAAFiO0g4AAABYjtIOAAAAWI7SDgAAAFiO0g4AAABYjtIOAAAAWI7SDgAAAFiO0g4AAABYjtIOAAAAWO7/AKI4tfa5DOtSAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 900x400 with 2 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "def predict_move(belief, move, p_under, p_correct, p_over):\n",
    "    n = len(belief)\n",
    "    prior = np.zeros(n)\n",
    "    for i in range(n):\n",
    "        prior[i] = (\n",
    "            belief[(i-move) % n]   * p_correct +\n",
    "            belief[(i-move-1) % n] * p_over +\n",
    "            belief[(i-move+1) % n] * p_under)      \n",
    "    return prior\n",
    "\n",
    "belief = [0., 0., 0., 1., 0., 0., 0., 0., 0., 0.]\n",
    "prior = predict_move(belief, 2, .1, .8, .1)\n",
    "book_plots.plot_belief_vs_prior(belief, prior)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "It appears to work correctly. Now what happens when our belief is not 100% certain?"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([0.  , 0.  , 0.  , 0.04, 0.38, 0.52, 0.06, 0.  , 0.  , 0.  ])"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAu0AAAF0CAYAAACXPwdxAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAqv0lEQVR4nO3dfXRU9Z3H8c+QhwmgwZJASHgIwcUKZUUboAZFUCAUEKnYQg8qKnDWGBBCapWIuyaI0tLKQcUEXUAKUogPaK2NwpyVJ41WwFBdYZUVMAoBTGxJBDt5+u0fbnKMCZgbcmd+TN6vc/LHXO69n9914nc+TC4TjzHGCAAAAIC12gV7AQAAAADOjtIOAAAAWI7SDgAAAFiO0g4AAABYjtIOAAAAWI7SDgAAAFiO0g4AAABYjtIOAAAAWI7SDgAAAFiO0o6QkZ2dLY/Ho9LS0lY937eNGDFCI0aMaNH5KisrlZaWpvj4eIWFhenyyy8/90UCAFpF7969dfvttwd7GcAZhQd7AcD5JDc3t8XH5uXl6amnntITTzyh5ORkXXDBBa24MgDAuXjppZcUHR0d7GUAZ0RpBxzo379/i4/97//+b7Vv316zZ89uxRUBAM7F119/rfbt2+uKK65otXPW1NSourpaXq+31c4JcHsMQs5nn32mSZMmKTo6Wp06ddItt9yiL774osE++fn5SklJUceOHXXBBRdozJgxKioq+t5zN3V7TGVlpRYtWqRLL71UXq9XXbp00R133NEg0+PxaOXKlfr666/l8Xjk8Xi0Zs2a1rhcAGjz6m5nLCoqOuv87927t66//npt2rRJV1xxhaKiopSTk1P/Z9+9Paa4uFi33HKLunbtKq/Xq379+unRRx9VbW1t/T6HDx+Wx+PRkiVLtGjRIiUlJcnr9Wrr1q0BuXa0HbzTjpBz4403avLkyUpLS9OHH36of//3f9e+ffv017/+VREREXrkkUf0wAMP6I477tADDzygyspK/e53v9OwYcP07rvvOno3vba2VhMnTtTOnTt17733aujQofr000/14IMPasSIEdq9e7fat2+vt99+Ww899JC2bt2qN954Q5J08cUXu/WfAADapO+b/5L03nvvaf/+/XrggQeUlJSkjh07NnmuL774QkOHDlVlZaUeeugh9e7dW6+++qruueceffLJJ41ul3z88cd1ySWX6Pe//72io6PVt29f168XbQulHSFn0qRJWrJkiSQpNTVVcXFxuvnmm/Xcc8/pmmuu0YMPPqjZs2fr8ccfrz9m9OjR6tu3r3JycpSfn9/srOeee06vv/66XnzxRU2aNKl++8CBAzV48GCtWbNGd911l6688kp16dJF7dq105VXXtl6FwsAqHe2+X/zzTdLkk6cOKF9+/bpkksuOeu5li5dqiNHjuivf/2rhgwZIkkaM2aMampqtGLFCmVkZDQ4R1RUlDZv3lz/lwOgtXF7DEJO3WCuM3nyZIWHh2vr1q3avHmzqqurNW3aNFVXV9d/RUVFafjw4dq2bZujrFdffVUXXXSRJkyY0OB8l19+ubp16+b4fACAljvb/K9z2WWXfW9hl6Q33nhD/fv3ry/sdW6//XYZY+p/alrnhhtuoLDDVbzTjpDTrVu3Bo/Dw8MVExOjsrIyHT9+XJI0ePDgJo9t187Z32OPHz+uf/zjH4qMjGzyz1vr4ycBAN/vbPO/Tnx8fLPOVVZWpt69ezfanpCQUP/n39bc8wItRWlHyDl27Ji6d+9e/7i6ulplZWWKiYlRbGysJOmFF15QYmLiOWfFxsYqJiZGr7/+epN/fuGFF55zBgCgec42/+t89/dvnElMTIxKSkoabT969Kgk1b+eOD0v0FKUdoSc9evXKzk5uf7xc889p+rqao0YMUJXX321wsPD9cknn+imm24656zrr79eGzduVE1NjX7yk5+c8/kAAC13tvnv1MiRI7V48WK99957+vGPf1y/fe3atfJ4PLr22mtbY8lAs1HaEXI2bdqk8PBwjR49uv7TAwYOHKjJkycrMjJSCxcu1IIFC3Tw4EH99Kc/1Q9+8AMdP35c7777rjp27Fj/8V/N8ctf/lLr16/XuHHjNHfuXA0ZMkQRERH6/PPPtXXrVk2cOFE33niji1cLAKhztvnv1Lx587R27VqNHz9eCxcuVGJiov7yl78oNzdXd911V7PuiwdaE6UdIWfTpk3Kzs5WXl6ePB6PJkyYoGXLltXfd56VlaX+/fvrscce04YNG+T3+9WtWzcNHjxYaWlpjrLCwsL0yiuv6LHHHtO6deu0ePFihYeHq0ePHho+fLj+9V//1Y1LBAA04fvmvxNdunRRYWGhsrKylJWVpfLycvXp00dLlixRZmamC6sHzs5jjDHBXgQAAEBLZWdnKycnR1988UWje82BUMFHPgIAAACWo7QDAAAAluP2GAAAAMByjt9p37FjhyZMmKCEhAR5PB69/PLL33vM9u3blZycrKioKPXp00crVqxoyVoBAAHEvAcAezgu7adOndLAgQO1fPnyZu1/6NAhjRs3TsOGDVNRUZHuv/9+zZkzRy+++KLjxQIAAod5DwD2OKfbYzwej1566SX97Gc/O+M+9913n1555RXt37+/fltaWpr+9re/6e23325pNAAggJj3ABBcrn9O+9tvv63U1NQG28aMGaNVq1apqqpKERERjY7x+/3y+/31j2tra/Xll18qJiaGXxMMIOQZY1RRUaGEhAS1a3f+fF4A8x4AnHEy710v7ceOHVNcXFyDbXFxcaqurlZpaani4+MbHbN48WJHv5USAELRZ599ph49egR7Gc3GvAeAlmnOvA/Ib0T97rsldXfknOldlKysrAa/bezkyZPq1auXDh06pAsvvNC1dVZVVWnr1q269tprm3xHKFQyg5XLtYZeZrByQ/1aKyoqlJSU5Oq8cwvz3r5crjU0c9tKZrBybZz3rpf2bt266dixYw22nThxQuHh4YqJiWnyGK/XK6/X22h7586dFR0d7co6pW+eoA4dOigmJiag3xSBzgxWLtcaepnByg31a6079/l2ewjz3s5crjU0c9tKZrBybZz3rt8smZKSIp/P12Dbli1bNGjQoIA+4QAAdzHvAcA9jkv7V199pb1792rv3r2SvvmIr71796q4uFj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IDFYu1xp6mcHKDfVrDfR1NYV5Hzq5XGto5raVzGDl2jjvPcYY09ydjx49qu7du6uwsFApKSn12x9++GGtW7dO//M//9PomH379mnUqFGaN2+exowZo5KSEv3617/W4MGDtWrVqiZzsrOzlZOT02j7H//4R3Xo0KG5ywWA89Lp06c1depUnTx5UtHR0UFZA/MeANznZN47Ku2VlZXq0KGDnn/+ed1444312+fOnau9e/dq+/btjY659dZb9c9//lPPP/98/bY333xTw4YN09GjRxUfH9/omKbeeenZs6dKS0tdfQGrqqqSz+fT6NGjFRER4VpOsDODlcu1hl5msHJD/VrLy8sVGxsb1NLOvA+dXK41NHPbSmawcm2c945uj4mMjFRycrJ8Pl+DIe7z+TRx4sQmjzl9+rTCwxvGhIWFSZLO9PcFr9crr9fbaHtERERAnqxA5QQ7M1i5XGvoZQYrN1SvNRjX9F3M+9DL5VpDM7etZAYr16Z57/jTYzIzM7Vy5UqtXr1a+/fv17x581RcXKy0tDRJUlZWlqZNm1a//4QJE7Rp0ybl5eXp4MGDeuuttzRnzhwNGTJECQkJTuMBAAHCvAcAezh6p12SpkyZorKyMi1cuFAlJSUaMGCACgoKlJiYKEkqKSlp8Bm+t99+uyoqKrR8+XL96le/0kUXXaTrrrtOv/3tb1vvKgAArY55DwD2cFzaJSk9PV3p6elN/tmaNWsabbv77rt19913tyQKABBEzHsAsIPj22MAAAAABBalHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAA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SkpZvjw4ebIkSOmurrarFu3zng8noDOCLQOG2Z+oOe9MYGd+cx79+a9McGf+aE+742xd+ZT2v9/gBcWFjbYvmjRIvPDH/4wYOsI9BBPT083iYmJ5rPPPgtInt/vNwcOHDC7du0y8+fPN7GxsebDDz90La+4uNh07drV7N27t35bIIb4d3311VcmLi7OPProo65lREREmJSUlAbb7r77bnPllVe6lvldqamp5vrrr3c9Z8OGDaZHjx5mw4YN5v333zdr1641nTt3NmvWrHE193//93/NNddcYySZsLAwM3jwYHPzzTebfv36uZqL1mfDzA9GaQ/kzGfeuzfvjQn+zA/1eW+MvTO/zZd2v99vwsLCzKZNmxpsnzNnjrnmmmsCto5ADvHZs2ebHj16mIMHDwYkrykjR440//Zv/+ba+V966aX6/9nqviQZj8djwsLCTHV1tWvZ3zVq1KhG98+2pl69epkZM2Y02Jabm2sSEhJcy/y2w4cPm3bt2pmXX37Z9awePXqY5cuXN9j20EMPBaxsffXVV+bo0aPGGGMmT55sxo0bF5BctB4bZn6gS3uwZz7zvnUFc+a3pXlvjH0zv83f0x4ZGank5OT6fwldx+fzaejQoUFalTuMMZo9e7Y2bdqkN954Q0lJSUFdi9/vd+38I0eO1AcffKC9e/fWfw0aNEg333yz9u7dq7CwMNeyv83v92v//v2Kj493LeOqq65q9DFuH3/8sRITE13L/LZnnnlGXbt21fjx413POn36tNq1azi2wsLCAvIRYJLUsWNHxcfH6+9//7s2b96siRMnBiQXrYeZH5x1MO9bTzBnflua95KFMz+of2WwxMaNG01ERIRZtWqV2bdvn8nIyDAdO3Y0hw8fdjW3oqLCFBUVmaKiIiPJLF261BQVFZlPP/3Ulby77rrLdOrUyWzbts2UlJTUf50+fdqVvDpZWVlmx44d5tChQ+b99983999/v2nXrp3ZsmWLq7nfFYgfl/7qV78y27ZtMwcPHjTvvPOOuf76682FF17o6vfSu+++a8LDw83DDz9sDhw4YNavX286dOhgnn32Wdcy69TU1JhevXqZ++67z/UsY4y57bbbTPfu3c2rr75qDh06ZDZt2mRiY2PNvffe62ru66+/bl577TVz8OBBs2XLFjNw4EAzZMgQU1lZ6Wou3BGMmR/oeW9McGY+897deW9M8GZ+W5n3xtg78ynt/+/JJ580iYmJJjIy0vz4xz8OyEdibd261Uhq9HXbbbe5ktdUliTzzDPPuJJXZ/r06fX/bbt06WJGjhwZ8AFuTGCG+JQpU0x8fLyJiIgwCQkJZtKkSa7ey1nnz3/+sxkwYIDxer3m0ksvNU8//bTrmcYYs3nzZiPJfPTRRwHJKy8vN3PnzjW9evUyUVFRpk+fPmbBggXG7/e7mpufn2/69OljIiMjTbdu3cysWbPMP/7xD1cz4a5Az/xAz3tjgjPzmffuz3tjgjPz28q8N8beme8xxphAvasPAAAAwLk2f087AAAAYDtKOwAAAGA5SjsAAABgOUo7AAAAYDlKOwAAAGA5SjsAAABgOUo7AAAAYDlKOwAAAGA5SjsAAABgOUo7AAAAYDlKOwAAAGA5SjsAAABguf8DkIapwFkntVIAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 900x400 with 2 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "belief = [0, 0, .4, .6, 0, 0, 0, 0, 0, 0]\n",
    "prior = predict_move(belief, 2, .1, .8, .1)\n",
    "book_plots.plot_belief_vs_prior(belief, prior)\n",
    "prior"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Here the results are more complicated, but you should still be able to work it out in your head. The 0.04 is due to the possibility that the 0.4 belief undershot by 1. The 0.38 is due to the following: the 80% chance that we moved 2 positions (0.4 $\\times$ 0.8) and the 10% chance that we undershot (0.6 $\\times$ 0.1). Overshooting plays no role here because if we overshot both 0.4 and 0.6 would be past this position. **I strongly suggest working some examples until all of this is very clear, as so much of what follows depends on understanding this step.**\n",
    "\n",
    "If you look at the probabilities after performing the update you might be dismayed. In the example above we started with probabilities of 0.4 and 0.6 in two positions; after performing the update the probabilities are not only lowered, but they are strewn out across the map.\n",
    "\n",
    "This is not a coincidence, or the result of a carefully chosen example - it is always true of the prediction. If the sensor is noisy we lose some information on every prediction. Suppose we were to perform the prediction an infinite number of times - what would the result be? If we lose information on every step, we must eventually end up with no information at all, and our probabilities will be equally distributed across the `belief` array. Let's try this with 100 iterations. The plot is animated; use the slider to change the step number."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Final Belief: [0.104 0.103 0.101 0.099 0.097 0.096 0.097 0.099 0.101 0.103]\n"
     ]
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "67b1c6758fff4724b590d76d758d0de5",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "interactive(children=(IntSlider(value=1, description='step'), Output()), _dom_classes=('widget-interact',))"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "belief = np.array([1.0, 0, 0, 0, 0, 0, 0, 0, 0, 0])\n",
    "predict_beliefs = []\n",
    "    \n",
    "for i in range(100):\n",
    "    belief = predict_move(belief, 1, .1, .8, .1)\n",
    "    predict_beliefs.append(belief)\n",
    "\n",
    "print('Final Belief:', belief)\n",
    "\n",
    "# make interactive plot\n",
    "def show_prior(step):\n",
    "    book_plots.bar_plot(predict_beliefs[step-1])\n",
    "    plt.title(f'Step {step}')\n",
    "    plt.show()\n",
    "\n",
    "interact(show_prior, step=IntSlider(value=1, max=len(predict_beliefs)));"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Final Belief: [0.104 0.103 0.101 0.099 0.097 0.096 0.097 0.099 0.101 0.103]\n"
     ]
    }
   ],
   "source": [
    "print('Final Belief:', belief)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "After 100 iterations we have lost almost all information, even though we were 100% sure that we started in position 0. Feel free to play with the numbers to see the effect of differing number of updates. For example, after 100 updates a small amount of information is left, after 50 a lot is left, but by 200 iterations essentially all information is lost."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "And, if you are viewing this online here is an animation of that output.\n",
    "<img src=\"animations/02_no_info.gif\">\n",
    "\n",
    "I will not generate these standalone animations through the rest of the book. Please see the preface for instructions to run this book on the web, for free, or install IPython on your computer. This will allow you to run all of the cells and see the animations. It's very important that you practice with this code, not just read passively."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Generalizing with Convolution\n",
    "\n",
    "We made the assumption that the movement error is at most one position. But it is possible for the error to be two, three, or more positions. As programmers we always want to generalize our code so that it works for all cases. \n",
    "\n",
    "This is easily solved with [*convolution*](https://en.wikipedia.org/wiki/Convolution). Convolution modifies one function with another function. In our case we are modifying a probability distribution with the error function of the sensor. The implementation of `predict_move()` is a convolution, though we did not call it that. Formally, convolution is defined as\n",
    "\n",
    "$$ (f \\ast g) (t) = \\int_0^t \\!f(\\tau) \\, g(t-\\tau) \\, \\mathrm{d}\\tau$$\n",
    "\n",
    "where $f\\ast g$ is the notation for convolving f by g. It does not mean multiply.\n",
    "\n",
    "Integrals are for continuous functions, but we are using discrete functions. We replace the integral with a summation, and the parenthesis with array brackets.\n",
    "\n",
    "$$ (f \\ast g) [t] = \\sum\\limits_{\\tau=0}^t \\!f[\\tau] \\, g[t-\\tau]$$\n",
    "\n",
    "Comparison shows that `predict_move()` is computing this equation - it computes the sum of a series of multiplications.\n",
    "\n",
    "[Khan Academy](https://www.khanacademy.org/math/differential-equations/laplace-transform/convolution-integral/v/introduction-to-the-convolution) [4] has a good introduction to convolution, and Wikipedia has some excellent animations of convolutions [5]. But the general idea is already clear. You slide an array called the *kernel* across another array, multiplying the neighbors of the current cell with the values of the second array. In our example above we used 0.8 for the probability of moving to the correct location, 0.1 for undershooting, and 0.1 for overshooting. We make a kernel of this with the array `[0.1, 0.8, 0.1]`. All we need to do is write a loop that goes over each element of our array, multiplying by the kernel, and summing the results. To emphasize that the belief is a probability distribution I have named it `pdf`."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [],
   "source": [
    "def predict_move_convolution(pdf, offset, kernel):\n",
    "    N = len(pdf)\n",
    "    kN = len(kernel)\n",
    "    width = int((kN - 1) / 2)\n",
    "\n",
    "    prior = np.zeros(N)\n",
    "    for i in range(N):\n",
    "        for k in range (kN):\n",
    "            index = (i + (width-k) - offset) % N\n",
    "            prior[i] += pdf[index] * kernel[k]\n",
    "    return prior"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "This illustrates the algorithm, but it runs very slow. SciPy provides a convolution routine `convolve()` in the `ndimage.filters` module. We  need to shift the pdf by `offset` before convolution; `np.roll()` does that. The move and predict algorithm can be implemented with one line:\n",
    "\n",
    "```python\n",
    "convolve(np.roll(pdf, offset), kernel, mode='wrap')\n",
    "```\n",
    "\n",
    "FilterPy implements this with `discrete_bayes`' `predict()` function."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAu0AAAF0CAYAAACXPwdxAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAtuUlEQVR4nO3dfXRU9Z3H8c+QhwmgoZJAeAohWiggFTHBGhAfiowLSCm2BYuCFTg1Bq0x61rS2ENAkK5VFq0myPpAQYVYxdZqVOasoNHUqjGsrlB1RYwNQSRWAuKZPP32Dzc5DQmYG+bO/TF5v87JOZ2bO/fz+430mw83Q+IzxhgBAAAAsFYPrxcAAAAA4Pgo7QAAAIDlKO0AAACA5SjtAAAAgOUo7QAAAIDlKO0AAACA5SjtAAAAgOUo7QAAAIDlKO0AAACA5SjtiBqFhYXy+Xw6cOBAWK/3zy666CJddNFFXbpefX29srOzNXDgQMXEx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nnHv3oRz8K3y7CxO/3a+nSpe2+VRttmV7lstfoy/Qqtzvt1UvM++jIZa/RmdtdMr3KtXHe+4zx8GeKAQAAAPhGjt8eAwAAACCyKO0AAACA5SjtAAAAgOUo7QAAAIDlKO3/r6ioSOnp6UpISFBGRobKyspcz3z55Zc1Y8YMDRo0SD6fT3/84x9dzVu1apXGjx+vU089Vf3799cPf/hDvffee65mSlJxcbHOOuus1l9QkJWVpeeee8713H+2atUq+Xw+5ebmuppTWFgon8/X5mPAgAGuZkpSdXW1rrrqKiUlJalXr146++yzVVFR4WrmsGHD2u3V5/Np8eLFrmU2Njbq1ltvVXp6unr27KnTTz9dy5cvV3Nzs2uZknTo0CHl5uYqLS1NPXv21IQJE/TGG2+4mgl3RXrmR3reS97MfOa9+/NeivzM707zXrJ35lPaJZWUlCg3N1cFBQWqrKzUpEmTNHXq1DY/yswNX375pcaOHat7773X1ZwWL730khYvXqzXXntNwWBQjY2NCgQC+vLLL13NHTJkiH7zm9/ozTff1Jtvvqnvf//7mjlzpt59911Xc1u88cYbWrdunc4666yI5J155pmqqalp/XjnnXdczfvHP/6hiRMnKi4uTs8995x27typu+66y/XfKvnGG2+02WfLL9X5yU9+4lrmv//7v2vt2rW69957tWvXLt1xxx367W9/q9/97neuZUrSokWLFAwGtXHjRr3zzjsKBAK65JJLVF1d7Wou3OHFzI/0vJe8mfnMe3fnveTNzO9O816yeOYbmHPPPddkZ2e3OTZy5EizZMmSiK1BknnqqacilmeMMfv37zeSzEsvvRTRXGOMOe2008wDDzzges6hQ4fM8OHDTTAYNBdeeKG58cYbXc1bunSpGTt2rKsZR/vlL39pzj///IhmduTGG280Z5xxhmlubnYtY/r06WbBggVtjl1++eXmqquuci3zyJEjJiYmxjzzzDNtjo8dO9YUFBS4lgv3eD3zvZj3xng385n34WXDzI/WeW+M3TO/299pr6+vV0VFhQKBQJvjgUBA5eXlHq0qMg4ePChJ6tu3b8Qym5qatHnzZn355ZfKyspyPW/x4sWaPn26LrnkEtezWnzwwQcaNGiQ0tPTdcUVV2j37t2u5j399NPKzMzUT37yE/Xv31/jxo3Tf/7nf7qaebT6+no98sgjWrBggXw+n2s5559/vv7rv/5L77//viTpv//7v/XKK69o2rRprmU2NjaqqalJCQkJbY737NlTr7zyimu5cAczP3Izn3nvDq9nfjTPe8nyme/pXxksUF1dbSSZV199tc3xlStXmhEjRkRsHYrwnZfm5mYzY8aMiP1t/e233za9e/c2MTExpk+fPubZZ591PXPTpk3mzDPPNF999ZUxxkTkzktpaal54oknzNtvv916tyclJcUcOHDAtUy/32/8fr/Jz883b731llm7dq1JSEgwv//9713LPFpJSYmJiYkx1dXVruY0NzebJUuWGJ/PZ2JjY43P5zO33367q5nGGJOVlWUuvPBCU11dbRobG83GjRuNz+eL6IxAeNgw8yM9742J7Mxn3rs3743xfuZH+7w3xt6ZT2n//wFeXl7e5viKFSvMd77znYitI9JDPCcnx6SlpZlPPvkkInmhUMh88MEH5o033jBLliwxycnJ5t1333Utr6qqyvTv39/s2LGj9VgkhvjRDh8+bFJSUsxdd93lWkZcXJzJyspqc+yGG24w5513nmuZRwsEAuayyy5zPWfTpk1myJAhZtOmTebtt982GzZsMH379jXr1693Nfd///d/zQUXXGAkmZiYGDN+/Hhz5ZVXmlGjRrmai/CzYeZ7UdojOfOZ9+7Ne2O8n/nRPu+NsXfmd/vSHgqFTExMjNmyZUub47/4xS/MBRdcELF1RHKIX3/99WbIkCFm9+7dEcnryOTJk83Pf/5z167/1FNPtf6freVDkvH5fCYmJsY0Nja6ln20Sy65pN37Z8Np6NChZuHChW2OFRUVmUGDBrmW+c/27NljevToYf74xz+6njVkyBBz7733tjl22223RaxsHT582Ozdu9cYY8zs2bPNtGnTIpKL8LFh5ke6tHs985n34eXlzO9O894Y+2Z+t39Pe3x8vDIyMlr/JXSLYDCoCRMmeLQqdxhjdP3112vLli168cUXlZ6e7ulaQqGQa9efPHmy3nnnHe3YsaP1IzMzU1deeaV27NihmJgY17L/WSgU0q5duzRw4EDXMiZOnNjux7i9//77SktLcy3znz388MPq37+/pk+f7nrWkSNH1KNH27EVExMTkR8BJkm9e/fWwIED9Y9//EMvvPCCZs6cGZFchA8z35t1MO/Dx8uZ353mvWThzPf0rwyW2Lx5s4mLizMPPvig2blzp8nNzTW9e/c2e/bscTX30KFDprKy0lRWVhpJZvXq1aaystJ8/PHHruRdd911pk+fPmb79u2mpqam9ePIkSOu5LXIz883L7/8svnoo4/M22+/bX71q1+ZHj16mK1bt7qae7RIfLv0X//1X8327dvN7t27zWuvvWYuu+wyc+qpp7r6Z+n11183sbGxZuXKleaDDz4wjz76qOnVq5d55JFHXMts0dTUZIYOHWp++ctfup5ljDFXX321GTx4sHnmmWfMRx99ZLZs2WKSk5PNLbfc4mru888/b5577jmze/dus3XrVjN27Fhz7rnnmvr6eldz4Q4vZn6k570x3sx85r27894Y72Z+d5n3xtg78ynt/+++++4zaWlpJj4+3pxzzjkR+ZFY27ZtM5LafVx99dWu5HWUJck8/PDDruS1WLBgQetr269fPzN58uSID3BjIjPE58yZYwYOHGji4uLMoEGDzOWXX+7qezlb/PnPfzZjxowxfr/fjBw50qxbt871TGOMeeGFF4wk895770Ukr66uztx4441m6NChJiEhwZx++ummoKDAhEIhV3NLSkrM6aefbuLj482AAQPM4sWLzRdffOFqJtwV6Zkf6XlvjDczn3nv/rw3xpuZ313mvTH2znyfMcZE6q4+AAAAAOe6/XvaAQAAANtR2gEAAADLUdoBAAAAy1HaAQAAAMtR2gEAAADLUdoBAAAAy1HaAQAAAMtR2gEAAADLUdoBAAAAy1HaAQAAAMtR2gEAAADLUdoBAAAAy/0fDXbEgbqKXvMAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 900x400 with 2 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "from filterpy.discrete_bayes import predict\n",
    "\n",
    "belief = [.05, .05, .05, .05, .55, .05, .05, .05, .05, .05]\n",
    "prior = predict(belief, offset=1, kernel=[.1, .8, .1])\n",
    "book_plots.plot_belief_vs_prior(belief, prior, ylim=(0,0.6))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "All of the elements are unchanged except the middle ones. The values in position 4 and 6 should be \n",
    "$$(0.1 \\times 0.05)+ (0.8 \\times 0.05) + (0.1 \\times 0.55) = 0.1$$\n",
    "\n",
    "Position 5 should be $$(0.1 \\times 0.05) + (0.8 \\times 0.55)+ (0.1 \\times 0.05) = 0.45$$\n",
    "\n",
    "Let's ensure that it shifts the positions correctly for movements greater than one and for asymmetric kernels."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAu0AAAF0CAYAAACXPwdxAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAt2klEQVR4nO3dfXRU9Z3H8c+QhwmgoZJAeAohWiggFTFgDYgPRcYFpBTbgkXACpwag9aYdSlp7CGgSNcqi1YDsj5QUCFWsbUahTkraDS1agyrK1RZEWNDEIiVgHgmT7/9w01OQwLmhrlzf0zer3PmnM7NvfdzfyP95sPNMPEZY4wAAAAAWKuL1xcAAAAA4OQo7QAAAIDlKO0AAACA5SjtAAAAgOUo7QAAAIDlKO0AAACA5SjtAAAAgOUo7QAAAIDlKO0AAACA5SjtiBoFBQXy+Xw6dOhQWM/3zy677DJddtllHTpfbW2tsrKy1LdvX8XExOj8888/9YsEAITFoEGD9LOf/czrywBOKNbrCwBOJ4WFhR0+dvXq1XrooYf0u9/9ThkZGTrjjDPCeGUAgFPx7LPPKjEx0evLAE6I0g44MHz48A4f+z//8z/q2rWrbrrppjBeEQDgVHz11Vfq2rWrRo0aFbZzNjQ0qL6+Xn6/P2znBHh7DKLOp59+qquvvlqJiYnq0aOHZs+erYMHD7bYp6ioSJmZmerevbvOOOMMXXnllSovL//Gc7f19pja2lrdeeedGjp0qPx+v3r16qXrr7++RabP59PDDz+sr776Sj6fTz6fT+vWrQvHcgGg02t6O2N5eflJ5/+gQYN01VVXafPmzRo1apQSEhK0dOnS5q8d//aYiooKzZ49W71795bf79ewYcN07733qrGxsXmfvXv3yufz6e6779add96p9PR0+f1+bdu2LSJrR+fBnXZEnenTp2vGjBnKysrS+++/r1//+tfauXOn/vrXvyouLk533XWXbr/9dl1//fW6/fbbVVtbq9/+9rcaP3683nzzTUd30xsbGzVt2jSVlJRo0aJFGjt2rD755BMtWbJEl112md5++2117dpVf/nLX3THHXdo27ZtevnllyVJ55xzjlsvAQB0St80/yXpnXfe0a5du3T77bcrPT1d3bt3b/NcBw8e1NixY1VbW6s77rhDgwYN0vPPP6/bbrtNH330Uau3S95///0aMmSI7rnnHiUmJmrw4MGurxedC6UdUefqq6/W3XffLUkKBAJKSUnRtddeq6eeekqXXHKJlixZoptuukn3339/8zETJ07U4MGDtXTpUhUVFbU766mnntJLL72kZ555RldffXXz9pEjR2rMmDFat26dbrzxRl100UXq1auXunTpoosuuih8iwUANDvZ/L/22mslSQcOHNDOnTs1ZMiQk55r5cqVqqys1F//+lddeOGFkqQrr7xSDQ0NWrNmjXJyclqcIyEhQVu2bGn+ywEQbrw9BlGnaTA3mTFjhmJjY7Vt2zZt2bJF9fX1mjt3rurr65sfCQkJuvTSS7V9+3ZHWc8//7y+9a1vaerUqS3Od/7556tPnz6OzwcA6LiTzf8m55133jcWdkl6+eWXNXz48ObC3uRnP/uZjDHNPzVt8oMf/IDCDldxpx1Rp0+fPi2ex8bGKikpSdXV1frss88kSWPGjGnz2C5dnP099rPPPtMXX3yh+Pj4Nr8ero+fBAB8s5PN/yZ9+/Zt17mqq6s1aNCgVtv79evX/PV/1t7zAh1FaUfU2b9/v/r379/8vL6+XtXV1UpKSlJycrIk6emnn1ZaWtopZyUnJyspKUkvvfRSm18/88wzTzkDANA+J5v/TY7//RsnkpSUpKqqqlbb9+3bJ0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vvvuu6d69u4mJiTE9evQwL7zwguuZGzduNOeee6756quvjDEmIndeiouLzdNPP23efffd5rs9KSkp5tChQ65l+v1+4/f7TV5ennnnnXfMmjVrTEJCgvn973/vWubxioqKTExMjKmsrHQ1p7Gx0SxevNj4fD4TGxtrfD6fueuuu1zNNMaYzMxMc+mll5rKykpTX19vNmzYYHw+X0RnBMLDhpkf6XlvTGRnPvPevXlvjPczP9rnvTH2znxK+/8P8NLS0hbb77zzTvOd73wnYtcR6SGenZ1t0tLSzKeffhqRvFAoZHbv3m3eeusts3jxYpOcnGzef/991/IqKipM7969zY4dO5q3RWKIH+/o0aMmJSXF3Hvvva5lxMXFmczMzBbbbr75ZnPRRRe5lnm8QCBgrrrqKtdzNm7caAYMGGA2btxo3n33XbN+/XrTs2dPs27dOldz//d//9dccsklRpKJiYkxY8aMMddee60ZNmyYq7kIPxtmvhelPZIzn3nv3rw3xvuZH+3z3hh7Z36nL+2hUMjExMSYzZs3t9j+i1/8wlxyySURu45IDvGbbrrJDBgwwOzZsycieW2ZMGGC+fnPf+7a+Z999tnm/7M1PSQZn89nYmJiTH19vWvZx7viiitavX82nAYOHGjmz5/fYlthYaHp16+fa5n/bO/evaZLly7mj3/8o+tZAwYMMA888ECLbXfccUfEytbRo0fNvn37jDHGzJgxw0yePDkiuQgfG2Z+pEu71zOfeR9eXs78zjTvjbFv5nf697THx8crIyOj+V9CNwkGgxo7dqxHV+UOY4xuuukmbd68WS+//LLS09M9vZZQKOTa+SdMmKD33ntPO3bsaH6MHj1a1157rXbs2KGYmBjXsv9ZKBTSrl271LdvX9cyxo0b1+pj3D788EOlpaW5lvnPHnvsMfXu3VtTpkxxPevYsWPq0qXl2IqJiYnIR4BJUvfu3dW3b1/94x//0JYtWzRt2rSI5CJ8mPneXAfzPny8nPmdad5LFs58T//KYIlNmzaZuLg488gjj5idO3eanJwc0717d7N3715Xc48cOWLKy8tNeXm5kWRWrlxpysvLzSeffOJK3o033mh69Ohhtm/fbqqqqpofx44dcyWvSV5ennn11VfNxx9/bN59913zq1/9ynTp0sVs3brV1dzjReLHpf/6r/9qtm/fbvbs2WPeeOMNc9VVV5kzzzzT1T9Lb775pomNjTXLly83u3fvNk888YTp1q2befzxx13LbNLQ0GAGDhxofvnLX7qeZYwx1113nenfv795/vnnzccff2w2b95skpOTzaJFi1zNfemll8yLL75o9uzZY7Zu3WpGjhxpLrzwQlNbW+tqLtzhxcyP9Lw3xpuZz7x3d94b493M7yzz3hh7Zz6l/f89+OCDJi0tzcTHx5sLLrggIh+JtW3bNiOp1eO6665zJa+tLEnmsccecyWvybx585pf2169epkJEyZEfIAbE5khPnPmTNO3b18TFxdn+vXrZ66++mpX38vZ5M9//rMZMWKE8fv9ZujQoWbt2rWuZxpjzJYtW4wk88EHH0Qkr6amxtxyyy1m4MCBJiEhwZx99tkmPz/fhEIhV3OLiorM2WefbeLj402fPn3MwoULzRdffOFqJtwV6Zkf6XlvjDczn3nv/rw3xpuZ31nmvTH2znyfMcZE6q4+AAAAAOc6/XvaAQAAANtR2gEAAADLUdoBAAAAy1HaAQAAAMtR2gEAAADLUdoBAAAAy1HaAQAAAMtR2gEAAADLUdoBAAAAy1HaAQAAAMtR2gEAAADLUdoBAAAAy/0fpUbUH7/RI+8AAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 900x400 with 2 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "prior = predict(belief, offset=3, kernel=[.05, .05, .6, .2, .1])\n",
    "book_plots.plot_belief_vs_prior(belief, prior, ylim=(0,0.6))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "The position was correctly shifted by 3 positions and we give more weight to the likelihood of an overshoot vs an undershoot, so this looks correct.\n",
    "\n",
    "Make sure you understand what we are doing. We are making a prediction of where the dog is moving, and convolving the probabilities to get the prior.\n",
    "\n",
    "If we weren't using probabilities we would use this equation that I gave earlier:\n",
    "\n",
    "$$ \\bar x_{k+1} = x_k + f_{\\mathbf x}(\\bullet)$$\n",
    "\n",
    "The prior, our prediction of where the dog will be, is the amount the dog moved plus his current position. The dog was at 10, he moved 5 meters, so he is now at 15 m. It couldn't be simpler. But we are using probabilities to model this, so our equation is:\n",
    "\n",
    "$$ \\bar{ \\mathbf x}_{k+1} = \\mathbf x_k \\ast f_{\\mathbf x}(\\bullet)$$\n",
    "\n",
    "We are *convolving* the current probabilistic position estimate with a probabilistic estimate of how much we think the dog moved. It's the same concept, but the math is slightly different. $\\mathbf x$ is bold to denote that it is an array of numbers. "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Integrating Measurements and Movement Updates\n",
    "\n",
    "The problem of losing information during a prediction may make it seem as if our system would quickly devolve into having no knowledge. However, each prediction is followed by an update where we incorporate the measurement into the estimate. The update improves our knowledge. The output of the update step is fed into the next prediction. The prediction degrades our certainty. That is passed into another update, where certainty is again increased.\n",
    "\n",
    "Let's think about this intuitively. Consider a simple case - you are tracking a dog while he sits still. During each prediction you predict he doesn't move. Your filter quickly *converges* on an accurate estimate of his position. Then the microwave in the kitchen turns on, and he goes streaking off. You don't know this, so at the next prediction you predict he is in the same spot. But the measurements tell a different story. As you incorporate the measurements your belief will be smeared along the hallway, leading towards the kitchen. On every epoch (cycle) your belief that he is sitting still will get smaller, and your belief that he is inbound towards the kitchen at a startling rate of speed increases.\n",
    "\n",
    "That is what intuition tells us. What does the math tell us?\n",
    "\n",
    "We have already programmed the update and predict steps. All we need to do is feed the result of one into the other, and we will have implemented a dog tracker!!! Let's see how it performs. We will input measurements as if the dog started at position 0 and moved right one position each epoch. As in a real world application, we will start with no knowledge of his position by assigning equal probability to all positions. "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAu0AAAF0CAYAAACXPwdxAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9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OADn/WNGzfK5XJp7NixF3OpANBuXWhW33TTTZKkTZs2+RyzZ88eHThwQOPGjWtyPpfLpWHDhukXv/iFLr/8cp+57Xa79fXXXzd5zKRJk/TnP/9Z/fr104gRI5rczi3tLdGpUyd973vf05YtW3wy6+vrtWnTJvXq1atFL88EJJ5pR4jbsmWLwsPDlZaW1viOBMOGDdMdd9zh97kWLFigjRs3auLEicrLy1NiYqJef/115efn65577mHwAkArXWhWR0ZG6u6779avfvUrdejQQePHj29895iEhAQtWLBA0jevSc/Pz9ett96qvn37yhijLVu26Msvv1RaWlpj1jXXXKPt27fr1VdfVc+ePdW5c2cNHDhQeXl58ng8Gj16tO6//34NHDhQf//733X48GEVFRVp7dq1TZ7pb4lly5YpLS1NY8eO1YMPPqjIyEjl5+frz3/+szZv3swz62gxSjtC2pYtW5Sbm6s1a9bI5XJp8uTJWrVqlSIjI/0+V/fu3VVcXKycnBzl5OSoqqpKffv21fLly5WVlRWAqweA9uHbZvWaNWvUr18/rV+/XqtXr1aXLl30ox/9SMuWLWt8+Uz//v11+eWXa/ny5Tp69KgiIyM1cOBAFRQUaObMmY1ZzzzzjObPn6+f/exnOnPmjG688UZt375dPXv21Pvvv6/HH39cTz31lD777DN17txZSUlJ+tGPfqSuXbu2am833nijtm3bpkWLFumuu+5SfX29hg0bpj/+8Y+aNGnSxX/y0G64jDHG6YsA2lpubq4WL16sEydONHm9IADADsxqoOV4TTsAAABgOUo7AAAAYDleHgMAAABYrlXPtOfn5yspKUlRUVFKSUnRzp07z3vs9u3b5XK5mtz+53/+p9UXDQAIDuY9ANjB79JeWFiozMxMLVy4UKWlpRozZozGjx+vsrKyCz7u4MGDqqioaLz179+/1RcNAAg85j0A2MPvl8d873vf03e/+12tWbOmcS05OVm33nqrli1b1uT47du3a+zYsfriiy90+eWXX/QFAwCCg3kPAPbw633aa2pqVFJS0uRXAaenp6u4uPiCjx0+fLj+/ve/6+qrr9ajjz56wd8e6fV65fV6G+/X19fr888/V7du3fglBABCnjFG1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PDtr/re/bt8906tTJhIWFmS5dupjXX3894JmbN282gwcPNl9//bUxxgTlmZeioiLz+9//3uzbt6/x2Z64uDhz8uTJgGW63W7jdrtNTk6O+eCDD8zatWtNVFSUee655wKWea7CwkITFhZmysvLA5pTX19vsrOzjcvlMuHh4cblcpmlS5cGNNMYY1JTU82NN95oysvLTV1dnXn++eeNy+UK6oxA27Bh5gd73hsT3JnPvA/cvDfG+Zkf6vPeGHtnPqX9/wd4cXGxz/oTTzxhBg4cGLTrCPYQz8jIMImJiebIkSNByfN6vebjjz82e/bsMdnZ2SY2NtZ89NFHAcsrKyszPXr0MHv37m1cC8YQP9dXX31l4uLizNNPPx2wjIiICJOamuqzdt9995lRo0YFLPNc6enpZtKkSQHP2bx5s+nVq5fZvHmz2bdvn9m4caO54oorTEFBQUBz//d//9fccMMNRpIJCwsz1113nbnzzjtNcnJyQHPR9myY+U6U9mDOfOZ94Oa9Mc7P/FCf98bYO/PbfWn3er0mLCzMbNmyxWf9/vvvNzfccEPQriOYQ/zee+81vXr1Mp988klQ8pozbtw4c/fddwfs/H/4wx8av9gabpKMy+UyYWFhpq6uLmDZ57r55pubvH62LfXu3dvMnj3bZy0/P9/Ex8cHLPMfHT582HTo0MG88sorAc/q1auXefbZZ33WHn/88aCVra+++socPXrUGGPMHXfcYSZMmBCUXLQdG2Z+sEu70zOfed+2nJz57WneG2PfzG/3r2mPjIxUSkpK409CN/B4PBo9erRDVxUYxhjde++92rJli7Zt26akpCRHr8Xr9Qbs/OPGjdOHH36ovXv3Nt5GjBihO++8U3v37lVYWFjAsv+R1+vVgQMH1LNnz4BlXH/99U3exu0vf/mLEhMTA5b5jzZs2KAePXpo4sSJAc86c+aMOnTwHVthYWFBeQswSerUqZN69uypL774Qm+++aZuueWWoOSi7TDznbkO5n3bcXLmt6d5L1k48x39XwZLvPTSSyYiIsKsX7/e7N+/32RmZppOnTqZw4cPBzS3urralJaWmtLSUiPJrFy50pSWlppPP/00IHn33HOP6dKli9m+fbupqKhovJ05cyYgeQ1ycnLM22+/bQ4dOmT27dtnHnnkEdOhQwezdevWgOaeKxjfLv3nf/5ns337dvPJJ5+Yd99910yaNMl07tw5oH+X/uu//suEh4ebJUuWmI8//ti88MILJjo62mzatClgmQ3Onj1revfubR5++OGAZxljzMyZM81VV11lXnvtNXPo0CGzZcsWExsbax566KGA5v7nf/6neeONN8wnn3xitm7daoYNG2ZGjhxpampqApqLwHBi5gd73hvjzMxn3gd23hvj3MxvL/PeGHtnPqX9/61evdokJiaayMhI893vfjcob4n11ltvGUlNbjNnzgxIXnNZksyGDRsCktdg1qxZjZ/b7t27m3HjxgV9gBsTnCE+ZcoU07NnTxMREWHi4+PN7bffHtDXcjZ49dVXzZAhQ4zb7TaDBg0y69atC3imMca8+eabRpI5ePBgUPKqqqrMAw88YHr37m2ioqJM3759zcKFC43X6w1obmFhoenbt6+JjIw0V155pZk/f7758ssvA5qJwAr2zA/2vDfGmZnPvA/8vDfGmZnfXua9MfbOfJcxxgTrWX0AAAAA/mv3r2kHAAAAbEdpBwAAACxHaQcAAAAsR2kHAAAALEdpBwAAACxHaQcAAAAsR2kHAAAALEdpBwAAACxHaQcAAAAsR2kHAAAALEdpBwAAACxHaQcAAAAs93/9/r8hbB0W7QAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 900x400 with 2 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "from filterpy.discrete_bayes import update\n",
    "\n",
    "hallway = np.array([1, 1, 0, 0, 0, 0, 0, 0, 1, 0])\n",
    "prior = np.array([.1] * 10)\n",
    "likelihood = lh_hallway(hallway, z=1, z_prob=.75)\n",
    "posterior = update(likelihood, prior)\n",
    "book_plots.plot_prior_vs_posterior(prior, posterior, ylim=(0,.5))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "After the first update we have assigned a high probability to each door position, and a low probability to each wall position. "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAu0AAAF0CAYAAACXPwdxAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAsWUlEQVR4nO3de3SU9Z3H8c+Qy4QgQUwgEgkhUC4RBGmQEixaxKTltl7aSotcPMARDF5C1qOJ6BKigItIsZVA2VIQUcy2UrdqXJlTLgJRF2NYrLDUrWAwhCJRCYKdJOS3f7jJ6ZAQMyEzz4/J+3XOnOM8eeb5PL+QfOfjk8nEZYwxAgAAAGCtDk6fAAAAAIDmUdoBAAAAy1HaAQAAAMtR2gEAAADLUdoBAAAAy1HaAQAAAMtR2gEAAADLUdoBAAAAy1HaAQAAAMtR2tHuLVmyRK+88kpAjn3kyBG5XC5t2LAhIMcHALSN3r1766677nL6NIALchljjNMnATjpsssu009+8pOAFGuv16vS0lL17dtX3bp1a/PjAwDaRmlpqWJiYtS3b1+nTwVoUrjTJwCEonPnzqm2tlZut1sjR45ss+N+/fXXioqKksvlarNjAkB79vXXX6tjx44aNmxYmx3zH58DgLbCy2Nglby8PLlcLpWWlur2229XTEyMunTpoqlTp+qzzz5r2K+urk7Lli3TwIED5Xa71b17d02fPl2ffvqpz/FKS0s1ceJEde/eXW63WwkJCZowYULDfi6XS2fOnNFzzz0nl8sll8ulH/zgBw2PP378uObMmaOePXsqMjJSycnJWrRokWpraxv2qX8JzLJly/TEE08oOTlZbrdb27dvv+DLY3bv3q2xY8eqc+fOio6O1qhRo/T666/77LNhwwa5XC5t3bpVM2fOVLdu3RQdHS2v19tGn20ACA0tfe7o3bu3Jk6cqC1btmjYsGGKiorSokWLGj52/stjysrKNHXq1IbnkJSUFD399NOqq6tr2Ke55wCgLXGlHVa67bbbdMcdd2ju3Ln68MMP9dhjj+nAgQN69913FRERoXvuuUdr167Vvffeq4kTJ+rIkSN67LHHtGPHDr3//vuKi4vTmTNnlJ6eruTkZK1atUrx8fE6fvy4tm/frtOnT0uS3n77bd10000aM2aMHnvsMUlSTEyMpG8K+4gRI9ShQwf9y7/8i/r27au3335bTzzxhI4cOaL169f7nPMvf/lL9e/fX8uXL1dMTIz69evX5Np27typ9PR0DRkyROvWrZPb7VZBQYEmTZqkzZs3a/LkyT77z5w5UxMmTNDzzz+vM2fOKCIioq0/3QAQEr7tuUOS3n//fR08eFCPPvqokpOT1alTpyaP9dlnn2nUqFGqrq7W448/rt69e+u1117Tgw8+qL/+9a8qKCjw2b+lzwFAqxnAIgsXLjSSzPz58322v/DCC0aS2bRpkzl48KCRZDIzM332effdd40k88gjjxhjjHnvvfeMJPPKK680m9mpUyczY8aMRtvnzJljLrvsMvPJJ5/4bF++fLmRZD788ENjjDGHDx82kkzfvn1NdXW1z771H1u/fn3DtpEjR5ru3bub06dPN2yrra01gwcPNj179jR1dXXGGGPWr19vJJnp06c3e/4A0N615LnDGGOSkpJMWFiYOXToUKNjJCUl+TwX5OTkGEnm3Xff9dnvnnvuMS6Xq+EYzT0HAG2Jl8fASnfeeafP/TvuuEPh4eHavn17w48cz/8x5ogRI5SSkqI//elPkqTvfOc76tq1qx5++GGtWbNGBw4c8OscXnvtNY0ZM0YJCQmqra1tuI0bN07SN1fM/9E//dM/fetV8DNnzujdd9/VT37yE1122WUN28PCwjRt2jR9+umnOnTokM9jfvzjH/t13gDQXjX33FFvyJAh6t+//7cea9u2bbr66qs1YsQIn+133XWXjDHatm2bz/aWPAcAF4PSDitdeeWVPvfDw8MVGxuryspKVVZWSpJ69OjR6HEJCQkNH+/SpYt27typa6+9Vo888ogGDRqkhIQELVy4UDU1Nd96Dn/729/06quvKiIiwuc2aNAgSdLJkyd99m/qfM73xRdfyBhzwXOX1HD+/hwXAND8c0e9ls7UyspKZjWswmvaYaXjx4/rqquuarhfW1uryspKxcbGKjY2VpJUUVGhnj17+jzu2LFjiouLa7h/zTXX6KWXXpIxRvv379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1dFRYUGDx6soqIiJSUlSZIqKip83sP317/+tWprazVv3jzNmzevYfuMGTO0YcOGi18BACAgmPcAYI9W/SJqZmamMjMzm/zY+YN5x44drYkAAFiAeQ8AdvD7jysBAAAACK5WXWm/lAx7/iM/H3G18l460uK9S6f1a4PctskELnV83wAA0DSutAMAAACWo7QDAAAAlqO0AwAAAJajtAMAAACWo7QDAAAAlqO0AwAAAJYL+bd8BAAgkHhrYQDBwJV2AAAAwHKUdgAAAMBylHYAAADAcpR2AAAAwHKUdgAAAMBylHYAAADAcpR2AAAAwHK8TzsAAABCnlN/U6GtcKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwXKtKe0FBgZKTkxUVFaXU1FTt2rXrgvtWVFRoypQpGjBggDp06KCsrKzWnisAIMiY9wBgB79Le2FhobKysrRgwQKVlpZq9OjRGjdunMrKyprc3+v1qlu3blqwYIGGDh160ScMAAgO5j0A2MPv0r5ixQrNmjVLs2fPVkpKilauXKnExEStXr26yf179+6tZ555RtOnT1eXLl0u+oQBAMHBvAcAe/hV2qurq1VSUqKMjAyf7RkZGSouLm7TEwMAOId5DwB2Cfdn55MnT+rcuXOKj4/32R4fH6/jx4+32Ul5vV55vd6G+1VVVZKkmpoa1dTUtFlOW3DifNois/4YwTx/JzKdym0vmU7m+utS+r6x4XMZ6vP+Uvm6lXiesT3Tqdz2kulkrr9ac37+PMav0l7P5XL53DfGNNp2MZYuXapFixY12r5161ZFR0f7ebSr2+akLqCoqCjouRfO9J/H42mzY9mc6VRue8lsu1y+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rJli7Zt26bk5GRHz8Xr9Qbs+GPHjtUHH3ygffv2NdyGDx+uO++8U/v27VNYWFjAsv+R1+vVwYMH1aNHj4BlXH/99Y3exu0vf/mLkpKSApb5j9avX6/u3btrwoQJAc86e/asOnTwHVthYWFBeQswSerUqZN69OihL774Qm+++aZuueWWoOSi7TDznTkP5n3bcXLmt6d5L1k48x39XwZLvPTSSyYiIsKsW7fOHDhwwGRlZZlOnTqZI0eOBDT39OnTprS01JSWlhpJZsWKFaa0tNR88sknAcm75557TJcuXcyOHTtMRUVFw+3s2bMByauXm5tr3nrrLXP48GGzf/9+88gjj5gOHTqYrVu3BjT3fMH4cek///M/mx07dpiPP/7YvPPOO2bixImmc+fOAf1a+q//+i8THh5uFi9ebD766CPzwgsvmOjoaLNp06aAZdY7d+6c6dWrl3n44YcDnmWMMTNmzDBXXXWVee2118zhw4fNli1bTFxcnHnooYcCmvuf//mf5o033jAff/yx2bp1qxk6dKgZMWKEqa6uDmguAsOJmR/seW+MMzOfeR/YeW+MczO/vcx7Y+yd+ZT2/7dq1SqTlJRkIiMjzXe/+92gvCXW9u3bjaRGtxkzZgQkr6ksSWb9+vUByas3c+bMhs9tt27dzNixY4M+wI0JzhCfPHmy6dGjh4mIiDAJCQnm9ttvD+hrOeu9+uqrZvDgwcbtdpuBAweatWvXBjzTGGPefPNNI8kcOnQoKHlVVVXmgQceML169TJRUVGmT58+ZsGCBcbr9QY0t7Cw0PTp08dERkaaK6+80sybN898+eWXAc1EYAV75gd73hvjzMxn3gd+3hvjzMxvL/PeGHtnvssYY4J1VR8AAACA/9r9a9oBAAAA21HaAQAAAMtR2gEAAADLUdoBAAAAy1HaAQAAAMtR2gEAAADLUdoBAAAAy1HaAQAAAMtR2gEAAADLUdoBAAAAy1HaAQAAAMtR2gEAAADL/R8CtuJMA2jqVwAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 900x400 with 2 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "kernel = (.1, .8, .1)\n",
    "prior = predict(posterior, 1, kernel)\n",
    "book_plots.plot_prior_vs_posterior(prior, posterior, True, ylim=(0,.5))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "The predict step shifted these probabilities to the right, smearing them about a bit. Now let's look at what happens at the next sense."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAu0AAAF0CAYAAACXPwdxAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAs+klEQVR4nO3de3SU9Z3H8c+QywSQIBKIREIIlDuCNEgJFi1i0nJbL22lRS4e4AgGLyHr0UR0CSjgIlJsJVC2CAIKbCt1q8aVOUWQi7qIYbHCUraCwRAKRCUIdpKQ3/7hJschATIhzzy/TN6vc+aczpNnns/vSZMvH5/MxWOMMQIAAABgrWZuLwAAAADApVHaAQAAAMtR2gEAAADLUdoBAAAAy1HaAQAAAMtR2gEAAADLUdoBAAAAy1HaAQAAAMtR2gEAAADLUdqBi+jcubPuvfdet5cBAGhA8+fP12uvvebIsY8cOSKPx6PVq1c7cnw0bR5jjHF7EYCNCgoKFBsbq65du7q9FABAA7nqqqv0s5/9zJFi7ff7VVBQoK5du6pdu3YNfnw0bZFuLwCwzTfffKPmzZtrwIABDXbM8+fPq6KiQl6vt8GOCQCww3dn/ODBgxvsuN98841iYmLk8Xga7JhovHh6DMJSbm6uPB6PCgoKdNdddyk2NlatW7fW+PHjdfLkyer9OnfurNGjR2vTpk0aMGCAYmJiNGfOnOqvXfj0mMLCQo0fP17t27eX1+tVr1699Nxzz6mysrJ6n6o/jy5cuFBPP/20kpOT5fV69c4774Tk3AGgsajrrK6srNTChQvVs2dPeb1etW/fXhMnTtTnn38ecLyCggKNHj26ekYnJCRo1KhR1ft5PB6dPXtWL730kjwejzwej370ox9VP/748eOaNm2aOnbsqOjoaCUnJ2vOnDmqqKio3udSM/5iT4/ZsWOHhg8frlatWqlFixYaMmSI3nzzzYB9Vq9eLY/Ho82bN2vy5Mlq166dWrRoIb/f30DfbTR2XGlHWLvzzjt19913a/r06frkk0/05JNPav/+/frggw8UFRUlSfroo4904MABPfHEE0pOTlbLli1rPdbJkyc1ZMgQlZWV6amnnlLnzp31xhtv6JFHHtHf/vY35eXlBez/61//Wt27d9eiRYsUGxurbt26OX6+ANAYXW5W33///VqxYoUeeOABjR49WkeOHNGTTz6prVu36qOPPlJcXJzOnj2rtLQ0JScna+nSpYqPj9fx48f1zjvv6MyZM5Kk9957T7feequGDRumJ598UpIUGxsr6dvCPmjQIDVr1kz/8i//oq5du+q9997T008/rSNHjmjVqlUBa67rjN+2bZvS0tLUr18/rVy5Ul6vV3l5eRozZozWr1+vsWPHBuw/efJkjRo1SmvXrtXZs2er/60CZIAwNHv2bCPJzJw5M2D7yy+/bCSZdevWGWOMSUpKMhEREebgwYM1jpGUlGQmTZpUfT87O9tIMh988EHAfvfff7/xeDzVxzh8+LCRZLp27WrKysoa+MwAIHzUZVYfOHDASDIZGRkB+3zwwQdGknn88ceNMcZ8+OGHRpJ57bXXLpnZsmXLgNleZdq0aeaqq64yn332WcD2RYsWGUnmk08+McZcesZXfW3VqlXV2wYPHmzat29vzpw5U72toqLC9O3b13Ts2NFUVlYaY4xZtWqVkWQmTpx4yfWj6eLpMQhr99xzT8D9u+++W5GRkQFPVenXr5+6d+9+2WNt2bJFvXv31qBBgwK233vvvTLGaMuWLQHb/+mf/okrJABQB5ea1VXz+sKnKw4aNEi9evXSn//8Z0nS9773PbVp00aPPfaYli9frv379we1hjfeeEPDhg1TQkKCKioqqm8jRoyQ9O0V8++qy4w/e/asPvjgA/3sZz/TVVddVb09IiJCEyZM0Oeff66DBw8GPOanP/1pUOtG00FpR1i79tprA+5HRkaqbdu2Kikpqd7W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vv20kmYMHD4Ykr7S01Dz88MOmU6dOJiYmxnTp0sXMmjXL+P1+R3M3btxounTpYqKjo821115rZsyYYb766itHM+GsUM/8UM97Y9yZ+cx75+e9Me7M/KYy742xd+Z7jDEmVFf1AQAAAASvyT+nHQAAALAdpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsBylHQAAALAcpR0AAACwHKUdAAAAsNz/AXF53RHTM7cVAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 900x400 with 2 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "likelihood = lh_hallway(hallway, z=1, z_prob=.75)\n",
    "posterior = update(likelihood, prior)\n",
    "book_plots.plot_prior_vs_posterior(prior, posterior, ylim=(0,.5))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Notice the tall bar at position 1. This corresponds with the (correct) case of starting at position 0, sensing a door, shifting 1 to the right, and sensing another door. No other positions make this set of observations as likely. Now we will add an update and then sense the wall."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAu0AAAF0CAYAAACXPwdxAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAs9klEQVR4nO3de3TU9Z3/8deQy4QgQSQQiYQQKHcEaZASKFrEpOW2XtpKi1w8wBEMXkLWo4noEqKAi4jYSkC2FAQU2FbqVo0rc4ogF3URw2KFpWwFgyGUi0oQ7CQhn98fbvLrkICZkO98P0yej3PmHOeTz/f7/nwCvPPym+/MeIwxRgAAAACs1cztBQAAAAC4NEI7AAAAYDlCOwAAAGA5QjsAAABgOUI7AAAAYDlCOwAAAGA5QjsAAABgOUI7AAAAYD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r1/v37jSSTmZkZMOeDDz4wksxjjz1mjDHmww8/NJLMa6+9dsmaLVq0COjt1aZNm2auuuoq89lnnwWML1y40Egyn3zyiTHm0j2++msrV66sGRs0aJBp166dOXPmTM1YZWWl6dOnj+nQoYOpqqoyxhizcuVKI8lMnDjxkutH08XtMQhrd999d8Dzu+66S5GRkQG3qvTt21fdunX7znNt3rxZvXr10sCBAwPG77nnHhljtHnz5oDxf/qnf+IKCQDUw6V6dXW/vvB2xYEDB6pnz57605/+JEn63ve+p9atW+vRRx/VsmXLtG/fvqDW8MYbb2jYsGFKTExUZWVlzWPEiBGSvr1i/o/q0+PPnj2rDz74QD/72c901VVX1YxHRERowoQJ+vzzz3XgwIGAY376058GtW40HYR2hLVrr7024HlkZKTatGmjU6dO1Yy1b9++Xuc6depUnXMTExNrvv6P6nteAGjqLtWrq3vrxfpv9ddbtWqlrVu36oYbbtBjjz2m3r17KzExUbNnz1ZFRcV3ruFvf/ubXn/9dUVFRQU8evfuLUk6efJkwPz69Pgvv/xSxhh+dqBRcE87wtqxY8d03XXX1TyvrKzUqVOn1KZNm5qx+r4qv02bNiotLa01fvToUUlSfHx8wDiv9geA+rlUr67u16WlperQoUPAcUePHg3ovddff73Wr18vY4z27t2rVatWKT8/X82bN1dOTs4l1xAfH6++fftq7ty5dX69OmRXq0+Pb926tZo1a8bPDjQKrrQjrL388ssBz//93/9dlZWVAe8WUF/Dhw/Xvn379NFHHwWMr169Wh6PR8OGDbucpQJAk3WpXn3LLbdIktauXRswZ9euXdq/f7+GDx9e63wej0f9+vXTc889p6uvvjqgb3u9Xn3zzTe1jhk9erT+/Oc/q0uXLhowYECtx4WhvT5atGihH/zgB9q4cWNAzaqqKq1du1YdOnSo1+2ZgMSVdoS5jRs3KjIyUunp6TXvSNCvXz/dddddQZ9r5syZWr16tUaNGqX8/HwlJyfrzTffVEFBge677z4aLwA00KV6dXR0tO699179+te/VrNmzTRixIiad49JSkrSzJkzJX17T3pBQYFuv/12de7cWcYYbdy4UV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sqXatWun22+/XQcOHHC0piQtXbpUffv2rfmAgrS0NL311luO1/1H8+fPl8fjUVZWlqN18vLy5PF4Ah7XXnutozUlqaSkROPHj1ebNm0UGxurG264Qbt373a0ZqdOnWrt1ePxaMaMGY7VrKys1OOPP66UlBQ1b95cnTt3Vn5+vqqqqhyrKUlnzpxRVlaWkpOT1bx5cw0ePFi7du1ytCacFeqeH+p+L7nT8+n3zvd7KfQ9vyn1e8nenk9ol7RhwwZlZWVp1qxZKioq0tChQzVixIiAtzJzwtmzZ9WvXz+98MILjtaptnXrVs2YMUPvv/++fD6fKisrlZGRobNnzzpat0OHDnr66af14Ycf6sMPP9Qtt9yi2267TZ988omjdavt2rVLy5cvV9++fUNSr3fv3iotLa15fPzxx47W+/LLLzVkyBBFRUXprbfe0r59+/Tss886/qmSu3btCthn9Yfq/PznP3es5r/+679q2bJleuGFF7R//34tWLBAzzzzjH796187VlOSpk6dKp/PpzVr1ujjjz9WRkaGbr31VpWUlDhaF85wo+eHut9L7vR8+r2z/V5yp+c3pX4vWdzzDczAgQPN9OnTA8Z69OhhcnJyQrYGSeYPf/hDyOoZY8zx48eNJLN169aQ1jXGmNatW5vf/OY3jtc5c+aM6dq1q/H5fObmm282Dz30kKP1Zs+ebfr16+dojQs9+uij5oc//GFIa9bloYceMl26dDFVVVWO1Rg1apSZPHlywNidd95pxo8f71jNc+fOmYiICPPGG28EjPfr18/MmjXLsbpwjts9341+b4x7PZ9+37hs6Pnh2u+NsbvnN/kr7eXl5dq9e7cyMjICxjMyMrRz506XVhUap0+fliRdc801Iat5/vx5rV+/XmfPnlVaWprj9WbMmKFRo0bp1ltvdbxWtYMHDyoxMVEpKSn6xS9+oU8//dTRen/84x81YMAA/fznP1e7du3Uv39//du//ZujNS9UXl6utWvXavLkyfJ4PI7V+eEPf6g//elP+stf/iJJ+u///m9t375dI0eOdKxmZWWlzp8/r5iYmIDx5s2ba/v27Y7VhTPo+aHr+fR7Z7jd88O530uW93xX/5fBAiUlJUaS2bFj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iRYtMUVGR+eyzzxypd99995lWrVqZLVu2mNLS0prHuXPnHKlXLTc317z77rvm0KFDZu/eveaxxx4zzZo1M5s2bXK07oVC8evSf/7nfzZbtmwxn376qXn//ffN6NGjTcuWLR39u/Rf//VfJjIy0sydO9ccPHjQvPzyyyY2NtasXbvWsZrVzp8/bzp27GgeffRRx2sZY8ykSZPMddddZ9544w1z6NAhs3HjRhMfH28eeeQRR+v+53/+p3nrrbfMp59+ajZt2mT69etnBg4caMrLyx2tC2e40fND3e+Ncafn0++d7ffGuNfzm0q/N8benk9o/z9LliwxycnJJjo62nz/+98PyVtivfPOO0ZSrcekSZMcqVdXLUlm5cqVjtSrNnny5Jrvbdu2bc3w4cND3sCNCU0THzt2rGnfvr2JiooyiYmJ5s4773T0Xs5qr7/+uunTp4/xer2mR48eZvny5Y7XNMaYt99+20gyBw4cCEm9srIy89BDD5mOHTuamJgY07lzZzNr1izj9/sdrbthwwbTuXNnEx0dba699lozY8YM89VXXzlaE84Kdc8Pdb83xp2eT793vt8b407Pbyr93hh7e77HGGNCdVUfAAAAQPCa/D3tAAAAgO0I7QAAAIDlCO0AAACA5QjtAAAAgOUI7QAAAIDlCO0AAACA5QjtAAAAgOUI7QAAAIDlCO0AAACA5QjtAAAAgOUI7QAAAIDlCO0AAACA5f4fU5vPEvx0T6sAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 900x400 with 2 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "prior = predict(posterior, 1, kernel)\n",
    "likelihood = lh_hallway(hallway, z=0, z_prob=.75)\n",
    "posterior = update(likelihood, prior)\n",
    "book_plots.plot_prior_vs_posterior(prior, posterior, ylim=(0,.5))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "This is exciting! We have a very prominent bar at position 2 with a value of around 35%. It is over twice the value of any other bar in the plot, and is about 4% larger than our last plot, where the tallest bar was around 31%. Let's see one more cycle."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAu0AAAF0CAYAAACXPwdxAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAtFElEQVR4nO3df3RU9Z3/8deQHxNAgkggEgkhUH4jSIOUYNFFTLb8Wn+0lS4KeIAjGPwRsh4lokuIAi4ixVYCZUuJgCLbSt2qcWVOEQygLsawWGEpW8FgCEWikgh2kpDP9w+/yemQgJkwd+bDzPNxzpzjfHLvfX8+mcmblzc3d1zGGCMAAAAA1moT6gkAAAAAuDhCOwAAAGA5QjsAAABgOUI7AAAAYDlCOwAAAGA5QjsAAABgOUI7AAAAYDlCOwAAAGA5QjsAAABgOUI7cAE9e/bUPffcE+ppAAACaMmSJXr11VcdOfbRo0flcrlUWFjoyPER2VzGGBPqSQA2Ki0tVXx8vHr37h3qqQAAAuSKK67QT37yE0eCtdfrVWlpqXr37q0uXboE/PiIbNGhngBgm2+++UZt27bVsGHDAnbMc+fOqa6uTm63O2DHBADY4e97/MiRIwN23G+++UZxcXFyuVwBOyYuX1weg7CUl5cnl8ul0tJS3XHHHYqPj1fHjh1199136/PPP2/crmfPnpo4caK2bt2qYcOGKS4uTosWLWr82vmXx5SVlenuu+9W165d5Xa7NWDAAD377LOqr69v3Kbh16PLli3TU089pdTUVLndbr399ttBWTsAXC5a2qvr6+u1bNky9e/fX263W127dtW0adP02Wef+RyvtLRUEydObOzRSUlJmjBhQuN2LpdLZ86c0QsvvCCXyyWXy6V/+Id/aNz/xIkTmj17trp3767Y2FilpqZq0aJFqqura9zmYj3+QpfH7Nq1S2PHjlWHDh3Url07jRo1Sm+88YbPNoWFhXK5XNq2bZtmzJihLl26qF27dvJ6vQH6buNyx5l2hLXbb79dd955p+bMmaOPP/5YTzzxhA4cOK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f/z5o9Ywx5uTJk0aS2blzZ1DrGmNMp06dzK9//WvH61RXV5s+ffoYj8djbrrpJvPQQw85Wm/hwoVm6NChjtY436OPPmp++MMfBrVmcx566CHTu3dvU19f71iNCRMmmBkzZviM3XHHHebuu+92rObZs2dNVFSUef31133Ghw4dahYsWOBYXTgn1D0/FP3emND1fPp9YNnQ88O13xtjd8+P+DPtNTU1KikpUWZmps94Zmam9uzZE6JZBcfp06clSVdddVXQap47d04vv/yyzpw5o/T0dMfrzZ07VxMmTNAtt9zieK0Ghw8fVlJSklJTU/Wzn/1Mn3zyiaP1/vCHP2j48OH66U9/qq5du2rYsGH693//d0drnq+mpkabNm3SjBkz5HK5HKvzwx/+UH/84x/15z//WZL0P//zP9q1a5fGjx/vWM26ujqdO3dOcXFxPuNt27bVrl27HKsLZ9Dzg9fz6ffOCHXPD+d+L1ne80P6vwwWKC8vN5LM7t27fcYXL15s+vbtG7R5KMhnXurr682kSZOC9n/r+/fvN+3btzdRUVGmY8eO5o033nC85ubNm82gQYPMN998Y4wxQTnzUlRUZH73u9+Z/fv3N57tSUxMNKdOnXKsptvtNm632+Tm5poPP/zQrFmzxsTFxZkXXnjBsZrn27Jli4mKijLl5eWO1qmvrzfz5883LpfLREdHG5fLZZYsWeJoTWOMSU9PNzfddJMpLy83dXV1ZuPGjcblcgW1RyAwbOj5we73xgS359Pvnev3xoS+54d7vzfG3p5PaP//DXzPnj0+40899ZTp169f0OYR7CaelZVlUlJSzLFjx4JSz+v1msOHD5u9e/ea+fPnm4SEBPPxxx87Vq+srMx07drV7Nu3r3EsGE38fF9//bVJTEw0zz77rGM1YmJiTHp6us/YAw88YEaOHOlYzfNlZmaaiRMnOl5n8+bNpnv37mbz5s1m//79ZsOGDeaqq64yhYWFjtb9v//7P3PjjTcaSSYqKspcf/315q677jIDBgxwtC4Cz4aeH4rQHsyeT793rt8bE/qeH+793hh7e37Eh3av12uioqLM1q1bfcYffPBBc+ONNwZtHsFs4vfff7/p3r27+eSTT4JSrzljx4419957r2PH//3vf9/4w9bwkGRcLpeJiooydXV1jtU+3y233NLk+tlA6tGjh5k5c6bPWEFBgUlKSnKs5t87evSoadOmjXn11Vcdr9W9e3fz/PPP+4w9+eSTQQtbX3/9tTl+/Lgxxpg777zTjB8/Pih1ETg29Pxgh/ZQ93z6fWCFsudHUr83xr6eH/HXtMfGxiotLa3xL6EbeDwejRo1KkSzcoYxRvfff7+2bt2q7du3KzU1NaRz8Xq9jh1/7Nix+uijj7Rv377Gx/Dhw3XXXXdp3759ioqKcqz23/N6vTp48KC6devmWI0bbrihyW3c/vznPyslJcWxmn9v/fr16tq1qyZMmOB4rbNnz6pNG9+2FRUVFZRbgElS+/bt1a1bN3355Zd66623dOuttwalLgKHnh+aedDvAyeUPT+S+r1kYc8P6f8yWOLll182MTExZt26debAgQMmOzvbtG/f3hw9etTRutXV1aa0tNSUlpYaSWbFihWmtLTUfPrpp47Uu++++0zHjh3Njh07TEVFRePj7NmzjtRrkJuba9555x1z5MgRs3//fvPYY4+ZNm3amG3btjla93zB+HXpv/zLv5gdO3aYTz75xLz33ntm4sSJpkOHDo6+l/77v//bREdHm8WLF5vDhw+bF1980bRr185s2rTJsZoNzp07Z3r06GEeffRRx2sZY8z06dPNNddcY15//XVz5MgRs3XrVpOQkGAeeeQRR+v+13/9l3nzzTfNJ598YrZt22aGDh1qRowYYWpqahytC2eEoucHu98bE5qeT793tt8bE7qeHyn93hh7ez6h/f9btWqVSUlJMbGxseb73/9+UG6J9fbbbxtJTR7Tp093pF5ztSSZ9evXO1KvwYwZMxq/t126dDFjx44NegM3JjhNfPLkyaZbt24mJibGJCUlmTvuuMPRazkbvPbaa2bw4MHG7Xab/v37m7Vr1zpe0xhj3nrrLSPJHDp0KCj1qqqqzEMPPWR69Ohh4uLiTK9evcyCBQuM1+t1tO6WLVtMr169TGxsrLn66qvN3LlzzVdffeVoTTgr2D0/2P3emND0fPq98/3emND0/Ejp98bY2/NdxhgTrLP6AAAAAPwX8de0AwAAALYjtAMAAACWI7QDAAAAliO0AwAAAJYjtAMAAACWI7QDAAAAliO0AwAAAJYjtAMAAACWI7QDAAAAliO0AwAAAJYjtAMAAACWI7QDAAAAlvt/C+DcduLePiwAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 900x400 with 2 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "prior = predict(posterior, 1, kernel)\n",
    "likelihood = lh_hallway(hallway, z=0, z_prob=.75)\n",
    "posterior = update(likelihood, prior)\n",
    "book_plots.plot_prior_vs_posterior(prior, posterior, ylim=(0,.5))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "I ignored an important issue. Earlier I assumed that we had a motion sensor for the predict step; then, when talking about the dog and the microwave I assumed that you had no knowledge that he suddenly began running. I mentioned that your belief that the dog is running would increase over time, but I did not provide any code for this. In short, how do we detect and/or estimate changes in the process model if we aren't directly measuring it?\n",
    "\n",
    "For now I want to ignore this problem. In later chapters we will learn the mathematics behind this estimation; for now it is a large enough task just to learn this algorithm. It is profoundly important to solve this problem, but we haven't yet built enough of the mathematical apparatus that is required, and so for the remainder of the chapter we will ignore the problem by assuming we have a sensor that senses movement."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## The Discrete Bayes Algorithm\n",
    "\n",
    "This chart illustrates the algorithm:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAjsAAAGjCAYAAADKC9ToAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAABm/ElEQVR4nO3dd3hUdf4+/PtMTZ/0CqSHAKH3XkQCkeoqrGVXUOzdta6ugI/orrq6NhQLxa+7wuqu2IBEei8h9CIJ6Y30THomM+f5g19m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2bMGIwZMwb//ve/UVBQgHHjxiE7Oxs//vgjbrnlFnz33Xe9fAdERERkbawq2fnLX/6C8vJy/Pzzz9i1axcMBgNWrFjRarIjl8vx888/48UXX8T27dtx/PhxREdH45133sGcOXOY7BAREREEURRFqYMgIiIi6ilW1WeHiIiIyNKY7BAREZFdY7JDREREdo3JDhEREdk1JjtERERk15jsEBERkV1jskNERER2jckOERER2TW7T3YyMzMhCAKWLl3aofKunMtWGAwGDB06FAkJCb1yvbS0NCgUCqxZs6ZXrkdERNSSbiU7J06cwH333Yfo6Gi4urrC2dkZkZGR+MMf/oBff/3VUjH2mj179kAQBKxcuVLqUHrEhg0bcObMmV67v6ioKNx1111YuXIltFptr1yTiIjoRl1aG8tgMODZZ5/Fe++9B4VCgRkzZmD+/PlQKpVIT0/HL7/8gq+//hqvvfYa/vKXv1g6ZosICQnBxYsXodFoevQYa6HX67Fq1SpMnToVY8aM6bXrPvfcc/jqq6/wwQcf4JVXXum16xIRETXrUrLzyiuv4L333sOwYcPw3XffITIy0mR7XV0dPvroI5SWllokyJ6gVCoRGxvb48dYi61btyI7Oxuvvvpqr143Li4OQ4cOxeeff44///nPkMnsvuWUiIisTKd/86SlpeGtt96Cj48Ptm/fbpboAICzszOee+45rFq1yqR848aNGDduHNzc3ODm5oZx48Zh48aNZsdf35yUkpKC+Ph4uLu7Q6PRYNGiRcjMzDQ7Rq/X429/+xuioqLg5OSEqKgovPnmmzAYDC3ex439b1auXInp06cDAFatWgVBEIyv5uu11WenJ+/tP//5D6ZOnQp/f384OTmhb9++mD17NrZs2dLivbVkw4YNEAQBv/vd74xlp06dgpOTk/E+P/nkE+O2+vp6xMbGGrfNmzevw9e60eLFi5GdnY2dO3d2+RxERERd1elkZ8OGDdDr9XjwwQcREBDQ5r5qtdr496effhpLly5Fbm4u7rvvPixfvhx5eXlYunQpnnnmmRaPT05OxuTJk6FQKPDggw9i1KhR2LJlC2bOnIn6+nqTfR944AG8+OKLMBgMePTRRxEfH493330XTz75ZIfua9q0abjnnnsAAFOnTsWKFSuML09PzzaP7cl7++STT3DbbbchNTUVixYtwjPPPIOZM2ciJyenw8mOKIrYs2cPYmNjTe5l2LBhePPNN43/fv75543J1ssvv4zffvsNABAYGIh169Z16FotGT9+PABg165dXT4HERFRl4mdNG3aNBGAuGPHjg4fs2/fPhGAOGDAALGiosJYXlFRIcbGxooAxP379xvLd+/eLQIQAYibNm0yOdcf/vAHEYD4zTffmO0/dOhQsbq62liem5sr+vr6igDEe+65x+Q8GRkZZuXN51mxYkWL99HSMT19byNGjBBVKpVYVFRkFk9JSUmLcd7o/PnzIgDxrrvuMttmMBjE+Ph4Y0zTp08X9+/fL8pkMhGAKAiCmJiY2KHrtEar1YoAxClTpnTrPERERF3R6ZqdwsJCAECfPn06fMyGDRsAXGsqur5zr0ajwYoVK0z2ud6UKVOwZMkSk7J7770XAHD8+HFj2VdffQUAePXVV+Hq6mosDwkJ6XDNTlf19L0B1/oKKZVKs3P4+Ph0KMbc3FwAaLEmThAEbNy4Ef7+/gCA3bt3Y86cOcbmv6effhqzZs3q0HVa4+7uDicnJ2McREREvalXeouePHkSwLWmohs1l506dcps24gRI8zKmpOsiooKY9np06cBAJMnTzbbv6UyS+rpe1u8eDFqamoQFxeHZ599Fj///LPJ9o5o7iju5eXV4vaAgACsX7/e+O/q6moAwPDhw02aua63fv16DB48GGq1GoGBgXjooYfajMvb2xslJSWdipuIiMgSOp3sBAYGAgDy8vI6fIxWq4VMJoOfn5/ZtoCAAMhkMlRWVppta2mIt0JxbQCZXq83llVWVkImk8HX17fF8/eknr63559/Hp9//jkCAwPx7rvvYt68efDz88OCBQuQkZHRoRidnZ0BXBsl15r4+HhER0eblN1///1QqVRm+65Zswb33nsvzp07h9DQUGi1WqxduxYJCQkmsV+vrq4OLi4uHYqXiIjIkjqd7EycOBEAOjWyxsPDAwaDAcXFxWbbioqKYDAY4OHh0dlQjDQaDQwGQ4s1B1evXu3yeTuip+9NEAQsX74cycnJKC4uxvfff49bb70VP/74I2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with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "book_plots.predict_update_chart()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "This filter is a form of the g-h filter. Here we are using the percentages for the errors to implicitly compute the $g$ and $h$ parameters. We could express the discrete Bayes algorithm as a g-h filter, but that would obscure the logic of this filter.\n",
    "\n",
    "The filter equations are:\n",
    "\n",
    "$$\\begin{aligned} \\bar {\\mathbf x} &= \\mathbf x \\ast f_{\\mathbf x}(\\bullet)\\, \\, &\\text{Predict Step} \\\\\n",
    "\\mathbf x &= \\|\\mathcal L \\cdot \\bar{\\mathbf x}\\|\\, \\, &\\text{Update Step}\\end{aligned}$$\n",
    "\n",
    "$\\mathcal L$ is the usual way to write the likelihood function, so I use that. The $\\|\\|$ notation denotes taking the norm. We need to normalize the product of the likelihood with the prior to ensure $x$ is a probability distribution that sums to one.\n",
    "\n",
    "We can express this in pseudocode.\n",
    "\n",
    "**Initialization**\n",
    "\n",
    "    1. Initialize our belief in the state\n",
    "    \n",
    "**Predict**\n",
    "\n",
    "    1. Based on the system behavior, predict state for the next time step\n",
    "    2. Adjust belief to account for the uncertainty in prediction\n",
    "    \n",
    "**Update**\n",
    "\n",
    "    1. Get a measurement and associated belief about its accuracy\n",
    "    2. Compute how likely it is the measurement matches each state\n",
    "    3. Update state belief with this likelihood\n",
    "\n",
    "When we cover the Kalman filter we will use this exact same algorithm; only the details of the computation will differ.\n",
    "\n",
    "Algorithms in this form are sometimes called *predictor correctors*. We make a prediction, then correct them.\n",
    "\n",
    "Let's animate this. First Let's write functions to perform the filtering and to plot the results at any step. I've plotted the position of the doorways in black. Prior are drawn in orange, and the posterior in blue. I draw a thick vertical line to indicate where Simon really is. This is not an output of the filter - we know where Simon is only because we are simulating his movement."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {
    "scrolled": true
   },
   "outputs": [],
   "source": [
    "def discrete_bayes_sim(prior, kernel, measurements, z_prob, hallway):\n",
    "    posterior = np.array([.1]*10)\n",
    "    priors, posteriors = [], []\n",
    "    for i, z in enumerate(measurements):\n",
    "        prior = predict(posterior, 1, kernel)\n",
    "        priors.append(prior)\n",
    "\n",
    "        likelihood = lh_hallway(hallway, z, z_prob)\n",
    "        posterior = update(likelihood, prior)\n",
    "        posteriors.append(posterior)\n",
    "    return priors, posteriors\n",
    "\n",
    "\n",
    "def plot_posterior(hallway, posteriors, i):\n",
    "    plt.title('Posterior')\n",
    "    book_plots.bar_plot(hallway, c='k')\n",
    "    book_plots.bar_plot(posteriors[i], ylim=(0, 1.0))\n",
    "    plt.axvline(i % len(hallway), lw=5)\n",
    "    plt.show()\n",
    "    \n",
    "def plot_prior(hallway, priors, i):\n",
    "    plt.title('Prior')\n",
    "    book_plots.bar_plot(hallway, c='k')\n",
    "    book_plots.bar_plot(priors[i], ylim=(0, 1.0), c='#ff8015')\n",
    "    plt.axvline(i % len(hallway), lw=5)\n",
    "    plt.show()\n",
    "\n",
    "def animate_discrete_bayes(hallway, priors, posteriors):\n",
    "    def animate(step):\n",
    "        step -= 1\n",
    "        i = step // 2    \n",
    "        if step % 2 == 0:\n",
    "            plot_prior(hallway, priors, i)\n",
    "        else:\n",
    "            plot_posterior(hallway, posteriors, i)\n",
    "    \n",
    "    return animate"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Let's run the filter and animate it."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "30b640471e4c4f91a079e8f32994f7f3",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "interactive(children=(IntSlider(value=1, description='step'), Output()), _dom_classes=('widget-interact',))"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# change these numbers to alter the simulation\n",
    "kernel = (.1, .8, .1)\n",
    "z_prob = 1.0\n",
    "hallway = np.array([1, 1, 0, 0, 0, 0, 0, 0, 1, 0])\n",
    "\n",
    "# measurements with no noise\n",
    "zs = [hallway[i % len(hallway)] for i in range(50)]\n",
    "\n",
    "priors, posteriors = discrete_bayes_sim(prior, kernel, zs, z_prob, hallway)\n",
    "interact(animate_discrete_bayes(hallway, priors, posteriors), step=IntSlider(value=1, max=len(zs)*2));"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Now we can see the results. You can see how the prior shifts the position and reduces certainty, and the posterior stays in the same position and increases certainty as it incorporates the information from the measurement. I've made the measurement perfect with the line `z_prob = 1.0`; we will explore the effect of imperfect measurements in the next section. Finally, \n",
    "\n",
    "Another thing to note is how accurate our estimate becomes when we are in front of a door, and how it degrades when in the middle of the hallway. This should make intuitive sense. There are only a few doorways, so when the sensor tells us we are in front of a door this boosts our certainty in our position. A long stretch of no doors reduces our certainty."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## The Effect of Bad Sensor Data\n",
    "\n",
    "You may be suspicious of the results above because I always passed correct sensor data into the functions. However, we are claiming that this code implements a *filter* - it should filter out bad sensor measurements. Does it do that?\n",
    "\n",
    "To make this easy to program and visualize I will change the layout of the hallway to mostly alternating doors and hallways, and run the algorithm on 6 correct measurements:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "32ba45c576874b9d965aa34b6cbb2002",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "interactive(children=(IntSlider(value=12, description='step', max=12), Output()), _dom_classes=('widget-intera…"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "hallway = np.array([1, 0, 1, 0, 0]*2)\n",
    "kernel = (.1, .8, .1)\n",
    "prior = np.array([.1] * 10)\n",
    "zs = [1, 0, 1, 0, 0, 1]\n",
    "z_prob = 0.75\n",
    "priors, posteriors = discrete_bayes_sim(prior, kernel, zs, z_prob, hallway)\n",
    "interact(animate_discrete_bayes(hallway, priors, posteriors), step=IntSlider(value=12, max=len(zs)*2));"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "We have identified the likely cases of having started at position 0 or 5, because we saw this sequence of doors and walls: 1,0,1,0,0. Now I inject a bad measurement. The next measurement should be 0, but instead we get a 1:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAu0AAAF0CAYAAACXPwdxAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAq2ElEQVR4nO3df1RVdb7/8deRn2JQCYmggOiYUpQVNAXKmsygq479coqujZo/7o0rpcjkVXPWFU2jsZvLJlPz5o/RJnN5tbK7KDljhT+7KcLkUm/ltaRRiAulEIyHX/v7R1+ZmHM0j+nZnzjPx1pnLc+Hvc9+f97ss32x2WfjsCzLEgAAAABjdbG7AAAAAADnR2gHAAAADEdoBwAAAAxHaAcAAAAMR2gHAAAADEdoBwAAAAxHaAcAAAAMR2gHAAAADEdoBwAAAAxHaAcAA6xdu1YOh6P9ERgYqN69e2vChAk6ceLEJd1WY2OjCgoK9MEHH1zS1z3rgw8+kMPhuGyvDwD+KNDuAgAAf7NmzRoNHDhQf/3rX7Vjxw4VFhaqpKREBw8eVLdu3S7JNhobGzVv3jxJ0h133HFJXvP7brnlFu3du1fXXXfdJX9tAPBXhHYAMEhycrJSU1MlSUOHDlVra6uefvppvfnmm3rkkUdsru78mpub5XA4FBERodtvv/2SvW5jY6PCwsIu2esBwE8Rl8cAgMHOht/jx4/rzJkzmj17thITExUcHKxevXopNzdXp06d6rDOe++9pzvuuEORkZHq2rWr4uPjNXr0aDU2NuqLL77QNddcI0maN29e++U4jz76aPv6n332mcaMGaMePXooJCRESUlJeumllzps4+wlMOvXr9dvfvMb9erVSyEhITp69Og5L4/ZunWr0tLSFBYWpvDwcGVmZmrv3r0dlikoKJDD4dCBAwf0q1/9SldffbX69et3aZoJAD9hnGkHAIMdPXpUknTNNdfovvvu0/bt2zV79mxlZGTo448/1ty5c7V3717t3btXISEh+uKLLzRy5EhlZGRo9erVuuqqq3TixAm9++67ampqUkxMjN599139wz/8gyZNmqTJkye3v74kHT58WOnp6YqPj9fzzz+vnj17atu2bZo6dapqamo0d+7cDvXNnj1baWlpWrFihbp06aIePXqoqqrKbR6vvfaaHnnkEWVlZWnDhg1yuVxatGiR7rjjDm3fvl1DhgzpsPwDDzyghx9+WDk5OWpoaLgcrQWAnxRCOwAYpLW1VS0tLTpz5oxKSkq0YMEChYeHKyIiQtu2bdOiRYs0Y8YMSVJmZqbi4uKUnZ2tdevW6Z/+6Z9UWlqqM2fO6LnnntOgQYPaX3fMmDHt/05JSZEk9e7d2+0ylvz8fIWHh2vXrl2KiIho347L5dKzzz6rqVOn6uqrr25fvl+/ftq0adN559TW1qYZM2bohhtu0DvvvKMuXb77Je+IESPUr18/zZw5U7t37+6wzvjx49uvuwcAcHkMABjl9ttvV1BQkMLDw/XLX/5SPXv21DvvvKMDBw5IUofLWCTpwQcfVLdu3bR9+3ZJ0k033aTg4GD98z//s/7whz/o2LFjF7ztM2fOaPv27br//vsVFhamlpaW9seIESN05swZffjhhx3WGT169A++7ieffKKTJ09q7Nix7YFdkq644gqNHj1aH374oRobG71+XQDwJ4R2ADDIunXrtG/fPpWVlenkyZP6+OOPNXjwYNXW1iowMLD9MpazHA6HevbsqdraWknfnfn+05/+pB49eig3N1f9+vVTv3799MILL/zgtmtra9XS0qIXX3xRQUFBHR4jRoyQJNXU1HRYJyYm5oJe91zLxsbGqq2tTd98843XrwsA/oTLYwDAIElJSe13j/m+yMhItbS06P/+7/86BHfLslRVVaVbb721fSwjI0MZGRlqbW3V/v379eKLLyovL0/R0dF6+OGHz7ntq6++WgEBARo7dqxyc3M9LpOYmNjhucPh+ME5RUZGSpIqKyvdvnby5El16dKlwyU3F/q6AOBPONMOAD8Bw4YNkyS9+uqrHcY3b96shoaG9q9/X0BAgG677bb2O7+cvcQmJCREkvTXv/61w/JhYWEaOnSoysrKdOONNyo1NdXtcTaAe2PAgAHq1auXXnvtNVmW1T7e0NCgzZs3t99RBgBwbpxpB4CfgMzMTN19992aOXOm6urqNHjw4Pa7x9x8880aO3asJGnFihV67733NHLkSMXHx+vMmTNavXq1JOmuu+6SJIWHhyshIUFvvfWWhg0bpu7duysqKkp9+vTRCy+8oCFDhigjI0P/8i//oj59+qi+vl5Hjx7V22+/rffee8/r2rt06aJFixbpkUce0S9/+Us99thjcrlceu6553Tq1Ck9++yzl65RANBJEdoB4CfA4XDozTffVEFBgdasWaOFCxcqKipKY8eO1TPPPNN+9vymm25ScXGx5s6dq6qqKl1xxRVKTk7W1q1blZWV1f56q1at0owZM3TPPffI5XJp/PjxWrt2ra677jodOHBATz/9tH7729+qurpaV111lfr3799+XfvFGDNmjLp166bCwkJlZ2crICBAt99+u95//32lp6f/6P4AQGfnsL7/u0oAAAAAxuGadgAAAMBwhHYAAADAcIR2AAAAwHBeh/YdO3Zo1KhRio2Nbf9g1A8pKSlRSkqKQkND1bdvX61YseJiagUAAAD8ktehvaGhQYMGDdLSpUsvaPnPP/9cI0aMUEZGhsrKyvTUU09p6tSp2rx5s9fFAgAAAP7oR909xuFw6I033tB99913zmVmzpyprVu36siRI+1jOTk5+vOf/6y9e/de7KYBAAAAv3HZ79O+d+/eDvcGlqS7775bq1atUnNzs4KCgtzWcblccrlc7c/b2tr09ddfKzIykj9tDQAAgE7BsizV19crNjZWXbqc/wKYyx7aq6qqFB0d3WEsOjpaLS0tqqmpUUxMjNs6hYWFmjdv3uUuDQAAALDdl19+qd69e593GZ/8RdS/Pzt+9oqcc501nz17tvLz89ufnz59WvHx8fr8888VHh5++Qo9j6ioKFu2eznU1NTYXYJHzc3Nev/99zV06FCPv4GxW2faBy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2LFKTU1VWlqaVq5cqYqKCuXk5Nhdmk98++23Onr0aPvzzz//XOXl5erevbvi4+NtrMw3cnNz9dprr+mtt95SeHh4+29drrzySnXt2tXm6nzjqaee0vDhwxUXF6f6+nq9/vrr+uCDD/Tuu+/aXZpPhIeHu32GoVu3boqMjPSrzzY8+eSTGjVqlOLj41VdXa0FCxaorq7Ob84uTp8+Xenp6XrmmWf00EMP6aOPPtLKlSu1cuVKu0vzqba2Nq1Zs0bjx49XYKD/xZRRo0Zp4cKFio+P1/XXX6+ysjItXrxYEydOtLs0n9m2bZssy9KAAQN09OhRzZgxQwMGDNCECRPsLs1ett67Bu1eeuklKyEhwQoODrZuueUWv7rd3/vvv29JcnuMHz/e7tJ8wtPcJVlr1qyxuzSfmThxYvv+f80111jDhg2ziouL7S7LVv54y8fs7GwrJibGCgoKsmJjY60HHnjAOnTokN1l+dTbb79tJScnWyEhIdbAgQOtlStX2l2Sz23bts2SZH3yySd2l2KLuro6a9q0aVZ8fLwVGhpq9e3b15ozZ47lcrnsLs1nNm7caPXt29cKDg62evbsaeXm5lqnTp2yuyzbOSzLsuz5cQEAAADAheCadgAAAMBwhHYAAADAcIR2AAAAwHCEdgAAAMBwhHYAAADAcIR2AAAAwHCEdgAAAMBwhHYAAADAcIR2AAAAwHCEdgAAAMBwhHYAAADAcIR2AAAAwHD/D8LAcJl6GlOQAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 900x400 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "measurements = [1, 0, 1, 0, 0, 1, 1]\n",
    "priors, posteriors = discrete_bayes_sim(prior, kernel, measurements, z_prob, hallway);\n",
    "plot_posterior(hallway, posteriors, 6)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "That one bad measurement has significantly eroded our knowledge. Now let's continue with a series of correct measurements."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {},
   "outputs": [
    {
     "data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vV7xPOZbV741zIH5zFczv+KsQW1YH+5rbscH85nP/OadX9caYVHj4eLiAltbW+Tl5ZmNX7t2De3bt69x2+TkZEydOhWfffYZhg8fXuO6NjY26N+/P7Kysqpdx87ODnZ2dpXG9Xq9qj9ktfOYb1351jAH5jNfjfzaMlgfqtZcjg+l8/uur/7nXb3HMWdzjkVbZEys+ixafTWV57+55/P4q1tWXVjUeBgMBvj5+SElJQVjx441jaekpGDMmDHVbpeUlIQpU6YgKSkJoaGhteaICDIzM9GrVy9Lpke/kuW/WI9jzqZLFm3R0L9U1HTU+w87j0GrwPpARES1sfhSq6ioKEycOBH+/v4IDAzE6tWrkZ2djbCwMAD3T3Hn5ORg3bp1AO4XlUmTJuH999/HgAEDTK+GOTg4oFWrVgCAuXPnYsCAAejSpQvy8/OxbNkyZGZmYsWKFQ21n0REpDDWByIiqonFjcf48eNx48YNvP3228jNzUXPnj2xc+dOeHl5AQByc3PN7tn+4YcforS0FOHh4QgPDzeNT548GWvXrgUA3Lp1C9OnT0deXh5atWqFvn374sCBAwgICPiVu0dERGphfSAioprU683lM2bMwIwZM6r8XkWxqLBv375aH++9997De++9V5+pEBGRFWF9ICKi6lj8yeVERERERESWYuNBRERERESKY+NBRERERESKY+NBRERERESKY+NBRERERESKY+NBRERERESKq9ftdImIiEg9fddn1WOrxzFn0yWLtsiY2KUeOdTU8fijhsLG4//hLxVpTY1jkMcfERERaYWXWhERERERkeLYeBARERERkeLYeBARERERkeLYeBARERERkeLYeBARERERkeLYeBARERERkeJ4O12i/4e3syUt8ZbeRETU1LHxICIiIqoBXxggrVl+DFrn8cdLrYiIiIiISHFsPIiIiIiISHFsPIiIiIiISHH1eo9HQkICFi9ejNzcXPTo0QPx8fF46qmnql1///79iIqKwunTp+Hm5oZZs2YhLCzMbJ3Nmzfjrbfewvnz5/HYY48hLi4OY8eOrc/0qJFqKtcvUuPEa7gbRlOtDzw+SEs8/qipsLjxSE5ORmRkJBISEhAUFIQPP/wQI0aMwJkzZ+Dp6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27Sr/xjb1+mDtP5+HNbXfj+aez+OP+daeX1uNqGDRGQ8XFxfY2tpWevXq2rVrlV7lelhycjKmTp2Kzz77rMaiAgA2Njbo378/srKqv+bZzs4OdnZ2lcb1er2qP2S185hvXfmWUmKuWj8HzG8ex2Bt27E+NIyGnp/W+8x86z/mHsTjj/m/JqsuLLqrlcFggJ+fX6VTNykpKRg4cGC12yUlJeGPf/wjNm7ciNDQ0FpzRASZmZno0KGDJdMjIiKNsD4QEVFtLL6rVVRUFCZOnAh/f38EBgZi9erVyM7ORlhYGAAgJiYGOTk5WLduHYD7RWXSpEl4//33MWDAANOrYQ4ODmjVqhUAYO7cuRgwYAC6dOmC/Px8LFu2DJmZmVixYkVD7ScRESmM9YGIiGpiceMxfvx43LhxA2+//TZyc3PRs2dP7Ny5E15eXgCA3Nxcs3u2f/jhhygtLUV4eDjCw8NN45MnT8batWsBALdu3cL06dORl5eHVq1aoW/fvjhw4AACAgJ+5e4REZFaWB+IiKgmFjceADBjxgzMmDGjyu9VFIsK+/btq/Xx3nvvPbz33nv1mQoREVkR1gciIqqOxZ9cTkREREREZCk2HkREREREpDg2HkREREREpDg2HkREREREpDg2HkREREREpDg2HkREREREpDg2HkREREREpDg2HkREREREpDg2HkREREREpDg2HkREREREpDg2HkREREREpDg2HkREREREpDg2HkREREREpLgWWk+AiIiIrFvf9Vn12OpxzNl0yaItMiZ2qUcONXU8/poONh5kNSz/w8I/KtRwWNiIiIiUxUutiIiIiIhIcTzjYSX4aitpTY1jkMcfERFR88XGg0x4qRNpic03ERFR08bGg4iIiKgGfGGEtNZUXhyuV+ORkJCAxYsXIzc3Fz169EB8fDyeeuqpatffv38/oqKicPr0abi5uWHWrFkICwszW2fz5s146623cP78eTz22GOIi4vD2LFj6zO9euEfFdIaL3WipqAp1gciImoYFjceycnJiIyMREJCAoKCgvDhhx9ixIgROHPmDDw9PSutf/HiRYwcORKvvvoqNmzYgNTUVMyYMQNt27bF73//ewDAkSNHMH78eMybNw9jx47F1q1b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dohNDRU1dy7d+/Cxsb8z6atra2qt0qs0LJlS3To0AE///wz9uzZgzFjxqg+BzLH+mB99QFQr0ZYW30AWCNYI6ywRmjb9zROmzZtEr1eL2vWrJEzZ85IZGSktGzZUi5duqR4dkFBgWRkZEhGRoYAkKVLl0pGRoZcvnxZ8WwRkddee01atWol+/btk9zcXNNy9+5dVfJjYmLkwIEDcvHiRTl58qS88cYbYmNjI3v37lUlvypqnkr/29/+Jvv27ZMLFy7I0aNHZdSoUeLk5KTKsSci8v3330uLFi0kLi5OsrKyJDExURwdHWXDhg2q5IuIlJWViaenp7z++uuqZVaYPHmydOzYUXbs2CEXL16ULVu2iIuLi8yaNUu1OezevVt27dolFy5ckL1794qvr68EBARIcXGxanOg6mlZH0S0rRFa1wcR66sRal9qxRrBGmHtNYKNRz2tWLFCvLy8xGAwSL9+/VS7XeB3330nACotkydPViW/qmwA8sknn6iSP2XKFNPz3rZtWxk2bJimTYeIuoVl/Pjx0qFDB9Hr9eLm5ibjxo1T7f0tFb788kvp2bOn2NnZiY+Pj6xevVrV/D179ggAOXfunKq5IiL5+fkSEREhnp6eYm9vL507d5bZs2dLUVGRanNITk6Wzp07i8FgEFdXVwkPD5dbt26plk+106o+iGhbI7SuDyLWVyPUbjxYI1gjrL1G6ERE1Dq7QkREREREzRPf40FERERERIpj40FERERERIpj40FERERERIpj40FERERERIpj40FERERERIpj40FERERERIpj40FERERERIpj40FERERERIpj40FERERERIpj40FERERERIpj40FERERERIpj40FERERERIpj40FERERERIpj40FERERERIpj40FERERERIpj40FERERERIpj40FERERERIpj40FUTxs3bkR8fLxm+ZcuXYJOp6t2+e1vf6vZ3IiImjutawQAFBUVYfHixejZsydatmyJ9u3bY8SIETh8+LCm86LmSyciovUkiBqjUaNG4V//+hcuXbqkSX5RUREyMjIqjW/btg2LFi3CqlWr8Kc//UmDmRERkdY1AgAmTZqExMRExMTE4Omnn8bNmzfxzjvv4MSJE0hNTUVAQIBmc6PmqYXWEyCi+rGzs8OAAQMqj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5uN6/V6+Pr6Yv/+/TXOk0gJbDyIauHp6YmZM2fim2++QWpqqmnczs4Ov/zyS6X1R40ahU2bNqGsrAxPPPFErY9/+vRpnDhxwuxU+saNG+Hk5IR+/frVaY7r1q1DSUkJL7MiIlKZtdYINzc3AMDRo0cxePBg03hRURGOHz8Od3f3Ou0fUUNi40H0kNu3b2Po0KGYMGECfHx84OTkhLS0NOzevRvjxo0zrderVy9s2bIFK1euhJ+fH2xsbODv748XX3wRiYmJGDlyJCIiIhAQEAC9Xo///Oc/+O677zBmzBiMHTvW9Dhubm549tlnMWfOHHTo0AEbNmxASkoKFi1aBEdHxzrNec2aNfDw8MAzzzzT4M8HERH9r8ZSI5588kn0798fc+bMwd27dzFo0CDcvn0bH3zwAS5evIj169cr+jwRVUnrd7cTWZt79+5JWFiY9O7dW4xGozg4OEi3bt0kNjbW7A4iN2/elOeee05at24tOp1OHvx1KikpkXfffVd8fX3F3t5eHnnkEfHx8ZE//elPkpWVZVrPy8tLQkND5fPPP5cePXqIwWCQTp06ydKlS+s839TUVAEg//jHPxrmCSAiomo1phpx69YtmT17tnTv3l0cHR2lXbt2MmTIENm5c2fDPSFEFtCJiGjc+xA1W506dULPnj2xY8cOradCRERWhjWCmhre1YqIiIiIiBTHxoOIiIiIiBTHS62IiIiIiEhxPONBRERERESKY+NBRERERESKY+NBRERERESKazIfIFheXo6rV6/CyckJOp1O6+kQETUpIoKCggK4ubnBxqZxvWbF+kBEpKy61ogm03hcvXoVHh4eWk+DiKhJu3LlCtzd3bWehkVYH4iI1FFbjWgyjYeTkxOA+ztsNBoVzyspKcHevXsREhICvV6veB7zrSvfGubAfOarmZ+fnw8PDw/T39rGRO36ADS/44P5zGd+886va41oMo1Hxelzo9GoWuPh6OgIo9Go2UHFfO3yrWEOzGe+FvmN8VIltesD0HyPD+Yzn/nNO7+2GtG4LtQlIiIiIqJGiY0HEREREREpjo0HEREREREpjo0HEREREREpjo0HEREREREpjo0HEREREREpjo0HEREREREpjo0HEREREREpj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DQ1VNffu3buwsTH/s2lra6vqrRIrtGzZEh06dMDPP/+MPXv2YMyYMarPgcyxPlhffQDUqxHWVh8A1gjWCCusEdr2PY3Tpk2bRK/Xy5o1a+TMmTMSGRkpLVu2lEuXLimeXVBQIBkZGZKRkSEAZOnSpZKRkSGXL19WPFtE5LXXXpNWrVrJvn37JDc317TcvXtXlfyYmBg5cOCAXLx4UU6ePClvvPGG2NjYyN69e1XJr4qap9L/9re/yb59++TChQty9OhRGTVqlDg5Oaly7ImIfP/999KiRQuJi4uTrKwsSUxMFEdHR9mwYYMq+SIiZWVl4unpKa+//rpqmRUmT54sHTt2lB07dsjFixdly5Yt4uLiIrNmzVJtDrt375Zdu3bJhQsXZO/eveLr6ysBAQFSXFys2hyoelrWBxFta4TW9UHE+mqE2pdasUawRlh7jWDjUU8rVqwQLy8vMRgM0q9fP9VuF/jdd98JgErL5MmTVcmvKhuAfPLJJ6rkT5kyxfS8t23bVoYNG6Zp0yGibmEZP368dOjQQfR6vbi5ucm4ceNUe39LhS+//FJ69uwpdnZ24uPjI6tXr1Y1f8+ePQJAzp07p2quiEh+fr5ERESIp6en2NvbS+fOnWX27NlSVFSk2hySk5Olc+fOYjAYxNXVVcLDw+XWrVuq5VPttKoPItrWCK3rg4j11Qi1Gw/WCNYIa68ROhERtc6uEBERERFR88T3eBARERERkeLYeBARERERkeLYeBARERERkeLYeBARERERkeLYeBARERERkeLYeBARERERkeLYeBARERERkeLYeBARERERkeLYeBARERERkeLYeBARERERkeLYeBARERERkeLYeBARERERkeL+f+hk1REZHh+PAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 800x550 with 10 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "with figsize(y=5.5):\n",
    "    measurements = [1, 0, 1, 0, 0, 1, 1, 1, 0, 0]\n",
    "    for i, m in enumerate(measurements):\n",
    "        likelihood = lh_hallway(hallway, z=m, z_prob=.75)\n",
    "        posterior = update(likelihood, prior)\n",
    "        prior = predict(posterior, 1, kernel)\n",
    "        plt.subplot(5, 2, i+1)\n",
    "        book_plots.bar_plot(posterior, ylim=(0, .4), title=f'step {i+1}')\n",
    "    plt.tight_layout()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "We quickly filtered out the bad sensor reading and converged on the most likely positions for our dog."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Drawbacks and Limitations\n",
    "\n",
    "Do not be mislead by the simplicity of the examples I chose. This is a robust and complete filter, and you may use the code in real world solutions. If you need a multimodal, discrete filter, this filter works.\n",
    "\n",
    "With that said, this filter it is not used often because it has several limitations. Getting around those limitations is the motivation behind the chapters in the rest of this book.\n",
    "\n",
    "The first problem is scaling. Our dog tracking problem used only one variable, $pos$, to denote the dog's position. Most interesting problems will want to track several things in a large space. Realistically, at a minimum we would want to track our dog's $(x,y)$ coordinate, and probably his velocity $(\\dot{x},\\dot{y})$ as well. We have not covered the multidimensional case, but instead of an array we use a multidimensional grid to store the probabilities at each discrete location. Each `update()` and `predict()` step requires updating all values in the grid, so a simple four variable problem would require $O(n^4)$ running time *per time step*. Realistic filters can have 10 or more variables to track, leading to exorbitant computation requirements.\n",
    "\n",
    "The second problem is that the filter is discrete, but we live in a continuous world. The histogram requires that you model the output of your filter as a set of discrete points. A 100 meter hallway requires 10,000 positions to model the hallway to 1cm accuracy. So each update and predict operation would entail performing calculations for 10,000 different probabilities. It gets exponentially worse as we add dimensions. A 100x100 m$^2$ courtyard requires 100,000,000 bins to get 1cm accuracy.\n",
    "\n",
    "A third problem is that the filter is multimodal. In the last example we ended up with strong beliefs that the dog was in position 4 or 9. This is not always a problem. Particle filters, which we will study later, are multimodal and are often used because of this property. But imagine if the GPS in your car reported to you that it is 40% sure that you are on D street, and 30% sure you are on Willow Avenue. \n",
    "\n",
    "A forth problem is that it requires a measurement of the change in state. We need a motion sensor to detect how much the dog moves. There are ways to work around this problem, but it would complicate the exposition of this chapter, so, given the aforementioned problems, I will not discuss it further.\n",
    "\n",
    "With that said, if I had a small problem that this technique could handle I would choose to use it; it is trivial to implement, debug, and understand, all virtues."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Tracking and Control\n",
    "\n",
    "We have been passively tracking an autonomously moving object. But consider this very similar problem. I am automating a warehouse and want to use robots to collect all of the items for a customer's order. Perhaps the easiest way to do this is to have the robots travel on a train track. I want to be able to send the robot a destination and have it go there. But train tracks and robot motors are imperfect. Wheel slippage and imperfect motors means that the robot is unlikely to travel to exactly the position you command. There is more than one robot, and we need to know where they all are so we do not cause them to crash.\n",
    "\n",
    "So we add sensors. Perhaps we mount magnets on the track every few feet, and use a Hall sensor to count how many magnets are passed. If we count 10 magnets then the robot should be at the 10th magnet. Of course it is possible to either miss a magnet or to count it twice, so we have to accommodate some degree of error. We can use the code from the previous section to track our robot since magnet counting is very similar to doorway sensing.\n",
    "\n",
    "But we are not done. We've learned to never throw information away. If you have information you should use it to improve your estimate. What information are we leaving out? We know what control inputs we are feeding to the wheels of the robot at each moment in time. For example, let's say that once a second we send a movement command to the robot - move left 1 unit, move right 1 unit, or stand still.  If I send the command 'move left 1 unit' I expect that in one second from now the robot will be 1 unit to the left of where it is now. This is a simplification because I am not taking acceleration into account, but I am not trying to teach control theory. Wheels and motors are imperfect. The robot might end up 0.9 units away, or maybe 1.2 units. \n",
    "\n",
    "Now the entire solution is clear. We assumed that the dog kept moving in whatever direction he was previously moving. That is a dubious assumption for my dog! Robots are far more predictable. Instead of making a dubious prediction based on assumption of behavior we will feed in the command that we sent to the robot! In other words, when we call `predict()` we will pass in the commanded movement that we gave the robot along with a kernel that describes the likelihood  of that movement."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Simulating the Train Behavior\n",
    "\n",
    "We need to simulate an imperfect train. When we command it to move it will sometimes make a small mistake, and its sensor will sometimes return the incorrect value."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {},
   "outputs": [],
   "source": [
    "class Train(object):\n",
    "\n",
    "    def __init__(self, track_len, kernel=[1.], sensor_accuracy=.9):\n",
    "        self.track_len = track_len\n",
    "        self.pos = 0\n",
    "        self.kernel = kernel\n",
    "        self.sensor_accuracy = sensor_accuracy\n",
    "\n",
    "    def move(self, distance=1):\n",
    "        \"\"\" move in the specified direction\n",
    "        with some small chance of error\"\"\"\n",
    "\n",
    "        self.pos += distance\n",
    "        # insert random movement error according to kernel\n",
    "        r = random.random()\n",
    "        s = 0\n",
    "        offset = -(len(self.kernel) - 1) / 2\n",
    "        for k in self.kernel:\n",
    "            s += k\n",
    "            if r <= s:\n",
    "                break\n",
    "            offset += 1\n",
    "        self.pos = int((self.pos + offset) % self.track_len)\n",
    "        return self.pos\n",
    "\n",
    "    def sense(self):\n",
    "        pos = self.pos\n",
    "         # insert random sensor error\n",
    "        if random.random() > self.sensor_accuracy:\n",
    "            if random.random() > 0.5:\n",
    "                pos += 1\n",
    "            else:\n",
    "                pos -= 1\n",
    "        return pos"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "With that we are ready to write the filter. We will put it in a function so that we can run it with different assumptions. I will assume that the robot always starts at the beginning of the track. The track is implemented as being 10 units long, but think of it as a track of length, say 10,000, with the magnet pattern repeated every 10 units. A length of 10 makes it easier to plot and inspect."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {},
   "outputs": [],
   "source": [
    "def train_filter(iterations, kernel, sensor_accuracy, \n",
    "             move_distance, do_print=True):\n",
    "    track = np.array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])\n",
    "    prior = np.array([.9] + [0.01]*9)\n",
    "    posterior = prior[:]\n",
    "    normalize(prior)\n",
    "    \n",
    "    robot = Train(len(track), kernel, sensor_accuracy)\n",
    "    for i in range(iterations):\n",
    "        # move the robot and\n",
    "        robot.move(distance=move_distance)\n",
    "\n",
    "        # peform prediction\n",
    "        prior = predict(posterior, move_distance, kernel)       \n",
    "\n",
    "        #  and update the filter\n",
    "        m = robot.sense()\n",
    "        likelihood = lh_hallway(track, m, sensor_accuracy)\n",
    "        posterior = update(likelihood, prior)\n",
    "        index = np.argmax(posterior)\n",
    "\n",
    "        if do_print:\n",
    "            print(f'time {i}: pos {robot.pos}, sensed {m}, at position {track[robot.pos]}')\n",
    "            conf = posterior[index] * 100\n",
    "            print(f'        estimated position is {index} with confidence {conf:.4f}%:')            \n",
    "\n",
    "    book_plots.bar_plot(posterior)\n",
    "    if do_print:\n",
    "        print()\n",
    "        print('final position is', robot.pos)\n",
    "        index = np.argmax(posterior)\n",
    "        conf = posterior[index]*100\n",
    "        print(f'Estimated position is {index} with confidence {conf:.4f}')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Read the code and make sure you understand it. Now let's do a run with no sensor or movement error. If the code is correct it should be able to locate the robot with no error. The output is a bit tedious to read, but if you are at all unsure of how the update/predict cycle works make sure you read through it carefully to solidify your understanding."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "time 0: pos 4, sensed 4, at position 4\n",
      "        estimated position is 4 with confidence 99.9900%:\n",
      "time 1: pos 8, sensed 8, at position 8\n",
      "        estimated position is 8 with confidence 100.0000%:\n",
      "time 2: pos 2, sensed 2, at position 2\n",
      "        estimated position is 2 with confidence 100.0000%:\n",
      "time 3: pos 6, sensed 6, at position 6\n",
      "        estimated position is 6 with confidence 100.0000%:\n",
      "\n",
      "final position is 6\n",
      "Estimated position is 6 with confidence 100.0000\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAu0AAAFlCAYAAABftdZPAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAi3UlEQVR4nO3df3BW5Zk38CuGkIA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Yzn4kTTjghTj755PjiF78YL7zwQtZlFdSyZcvivPPO6/oFGrW1tfHTn/4067Iys2jRoigpKYlZs2ZlXUpBzZ8/P0pKSrp9nXLKKVmXVVCvv/56fO1rX4uBAwdG//7945Of/GRs2rQp67IK5vTTT+9xDZSUlMSMGTOyLq1g9u7dG3/9138dVVVV0a9fvzjjjDNi4cKFsX///qxLK5j29vaYNWtWDB8+PPr16xejRo2KZ555JuuyMie0J2D16tUxa9asmDdvXmzevDlGjx4dY8eO7fbqzGPZrl274vzzz4/bbrst61IysXbt2pgxY0b88pe/jKampti7d2/U1dXFrl27si6tYE477bT427/929i4cWNs3LgxLr744rjiiiviueeey7q0gnvmmWdi+fLlcd5552VdSibOPffcaGlp6fp69tlnsy6pYH7/+9/HBRdcEGVlZfHTn/40nn/++fjud79bNL8RPOKd6/9/fv8P/HLGr3zlKxlXVjjf/va344477ojbbrsttm7dGt/5znfi7/7u7+If/uEfsi6tYKZNmxZNTU1x7733xrPPPht1dXVx6aWXxuuvv551adnKkbnPfvazufr6+m5j55xzTm7OnDkZVZSdiMg9+uijWZeRqdbW1lxE5NauXZt1KZn6oz/6o9xdd92VdRkF1d7enjvrrLNyTU1Nuc9//vO56667LuuSCuqb3/xm7vzzz8+6jMzceOONuQsvvDDrMpJy3XXX5c4888zc/v37sy6lYC6//PLclClTuo196Utfyn3ta1/LqKLC2r17d660tDT3T//0T93Gzz///Ny8efMyqioN7rRnbM+ePbFp06aoq6vrNl5XVxcbNmzIqCqytHPnzoiIOOmkkzKuJBv79u2LBx98MHbt2hW1tbVZl1NQM2bMiMsvvzwuvfTSrEvJzEsvvRRDhgyJqqqq+OpXvxovv/xy1iUVzOOPPx41NTXxla98JU4++eT41Kc+Ff/4j/+YdVmZ2bNnT9x3330xZcqUKCkpybqcgrnwwgvjX/7lX+LFF1+MiIjf/OY38eSTT8a4ceMyrqww9u7dG/v27YuKiopu4/369Ysnn3wyo6rSkPdvROXo2r59e+zbty8qKyu7jVdWVsa2bdsyqoqs5HK5aGhoiAsvvDBGjhyZdTkF9eyzz0ZtbW384Q9/iA996EPx6KOPxsc//vGsyyqYBx98MDZt2hQbN27MupTMfO5zn4t77rknPvaxj8Xvfve7uPnmm2PUqFHx3HPPxcCBA7Mu73338ssvx7Jly6KhoSFuuumm+NWvfhUzZ86M8vLymDRpUtblFdxjjz0Wb731Vnz961/PupSCuvHGG2Pnzp1xzjnnRGlpaezbty9uueWW+PM///OsSyuIE044IWpra+Nb3/pWjBgxIiorK+OBBx6If/u3f4uzzjor6/IyJbQn4n/fRcjlckV1Z4F3XHPNNfHv//7vRXk34eyzz44tW7bEW2+9FQ8//HBMnjw51q5dWxTB/bXXXovrrrsu1qxZ0+PuUjEZO3Zs1//+xCc+EbW1tXHmmWfGD37wg2hoaMiwssLYv39/1NTUxK233hoREZ/61Kfiueeei2XLlhVlaF+xYkWMHTs2hgwZknUpBbV69eq477774v77749zzz03tmzZErNmzYohQ4bE5MmTsy6vIO69996YMmVKnHrqqVFaWhqf/vSnY+LEifHrX/8669IyJbRnbNCgQVFaWtrjrnpra2uPu+8c26699tp4/PHHY926dXHaaadlXU7B9e3bNz760Y9GRERNTU0888wz8b3vfS/uvPPOjCt7/23atClaW1ujurq6a2zfvn2xbt26uO2226KjoyNKS0szrDAbxx9/fHziE5+Il156KetSCmLw4ME9/pE6YsSIePjhhzOqKDuvvvpq/PM//3M88sgjWZdScDfccEPMmTMnvvrVr0bEO/+AffXVV2PRokVFE9rPPPPMWLt2bezatSva2tpi8ODBMWHChKiqqsq6tEx5pj1jffv2jerq6q5PyB/Q1NQUo0aNyqgqCimXy8U111wTjzzySPzrv/5r0f9H6YBcLhcdHR1Zl1EQl1xySTz77LOxZcuWrq+ampr4i7/4i9iyZUtRBvaIiI6Ojti6dWsMHjw461IK4oILLujxutcXX3wxhg8fnlFF2bn77rvj5JNPjssvvzzrUgpu9+7dcdxx3eNZaWlpUb3y8YDjjz8+Bg8eHL///e/jiSeeiCuuuCLrkjLlTnsCGhoa4qqrroqampqora2N5cuXR3Nzc9TX12ddWkG8/fbb8dvf/rbr+JVXXoktW7bESSedFMOGDcuwssKYMWNG3H///fHjH/84TjjhhK6fupx44onRr1+/jKsrjJtuuinGjh0bQ4cOjfb29njwwQfjF7/4RfzsZz/LurSCOOGEE3p8huH444+PgQMHFtVnG66//voYP358DBs2LFpbW+Pmm2+Otra2orm7OHv27Bg1alTceuutceWVV8avfvWrWL58eSxfvjzr0gpq//79cffdd8fkyZOjT5/iiynjx4+PW265JYYNGxbnnntubN68ORYvXhxTpkzJurSCeeKJJyKXy8XZZ58dv/3tb+OGG26Is88+O66++uqsS8tWpu+uocvtt9+eGz58eK5v3765T3/600X1ur+f//znuYjo8TV58uSsSyuI3vYeEbm7774769IKZsqUKV3X/0c+8pHcJZdckluzZk3WZWWqGF/5OGHChNzgwYNzZWVluSFDhuS+9KUv5Z577rmsyyqon/zkJ7mRI0fmysvLc+ecc05u+fLlWZdUcE888UQuInIvvPBC1qVkoq2tLXfdddflhg0blquoqMidccYZuXnz5uU6OjqyLq1gVq9enTvjjDNyffv2zZ1yyim5GTNm5N56662sy8pcSS6Xy2XzzwUAAOBweKYdAAASJ7QDAEDihHYAAEic0A4AAIkT2gEAIHFCOwAAJE5oBwCAxAntAACQOKEdAAASJ7QDAEDihHYAAEic0A4AAIn7v3Z09/OoLORTAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 900x400 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "import random\n",
    "\n",
    "random.seed(3)\n",
    "np.set_printoptions(precision=2, suppress=True, linewidth=60)\n",
    "train_filter(4, kernel=[1.], sensor_accuracy=.999,\n",
    "             move_distance=4, do_print=True)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "We can see that the code was able to perfectly track the robot so we should feel reasonably confident that the code is working. Now let's see how it fairs with some errors. "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "time 0: pos 4, sensed 4, at position 4\n",
      "        estimated position is 4 with confidence 96.0390%:\n",
      "time 1: pos 8, sensed 9, at position 8\n",
      "        estimated position is 9 with confidence 52.1180%:\n",
      "time 2: pos 3, sensed 3, at position 3\n",
      "        estimated position is 3 with confidence 88.3993%:\n",
      "time 3: pos 7, sensed 8, at position 7\n",
      "        estimated position is 8 with confidence 49.3174%:\n",
      "\n",
      "final position is 7\n",
      "Estimated position is 8 with confidence 49.3174\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAu0AAAFlCAYAAABftdZPAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAi80lEQVR4nO3df5SWZZ0/8PfIj0FMbIUcQQFHMyUpq6FaUE6r6bTosdrapHUTEzgnDqTibBbIngIz2WrzUKtQrKhlqZzSyvZQMrtbaFqbErQe5ZitJq0NcaAClG/DAM/3D7/Md2cHlQdhnkue1+ucOYf7muvi/lyfmYfznpv7uaehUqlUAgAAFOuwWhcAAAC8OKEdAAAKJ7QDAEDhhHYAACic0A4AAIUT2gEAoHBCOwAAFE5oBwCAwgntAABQOKEdAAAKV3Vov++++3LBBRdkxIgRaWhoyHe+852XXLNq1aq0tLRk0KBBOfHEE/PlL395f2oFAIC6VHVof+6553L66afnhhtu2Kf5Tz31VM4777xMnDgxa9asydVXX53LL788d911V9XFAgBAPWqoVCqV/V7c0JBvf/vbee973/uCcz7xiU/knnvuybp167rHZsyYkV/84hf5yU9+sr+nBgCAutH/YJ/gJz/5SVpbW3uMvetd78qyZcvS1dWVAQMG9FrT2dmZzs7O7uPdu3fn97//fYYOHZqGhoaDXTIAABx0lUol27Zty4gRI3LYYS9+A8xBD+0bNmxIU1NTj7Gmpqbs3LkzmzZtyvDhw3utWbhwYRYsWHCwSwMAgJr7zW9+k+OPP/5F5xz00J6k19XxPXfkvNBV87lz56atra37eMuWLRk1alSeeuqpHHnkkQev0Brq6urKD3/4w5x11ll7/d+HeqAHepDoQb3vP9GDRA/qff+JHiT10YNt27alubl5n/LtQQ/txx57bDZs2NBjbOPGjenfv3+GDh261zWNjY1pbGzsNX700UdnyJAhB6XOWuvq6srgwYMzdOjQQ/Yb86XogR4kelDv+0/0INGDet9/ogdJffRgz7725fbvg/6c9vHjx6e9vb3H2MqVKzNu3LhD9gsAAAAHUtWh/dlnn83atWuzdu3aJM8/0nHt2rVZv359kudvbZkyZUr3/BkzZuTpp59OW1tb1q1bl5tvvjnLli3Lxz72sQOzAwAAOMRVfXvMww8/nLPOOqv7eM+955dcckluvfXWdHR0dAf4JGlubs6KFSty5ZVX5sYbb8yIESPypS99Ke9///sPQPkAAHDoqzq0/8Vf/EVe7NHut956a6+xd7zjHfn5z39e7akAAID0wT3tAADAyyO0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAo3H6F9sWLF6e5uTmDBg1KS0tL7r///hed/41vfCOnn356Bg8enOHDh+fSSy/N5s2b96tgAACoN1WH9uXLl2f27NmZN29e1qxZk4kTJ2bSpElZv379Xuf/+Mc/zpQpUzJt2rQ8+uij+eY3v5mHHnoo06dPf9nFAwBAPag6tF9//fWZNm1apk+fnjFjxmTRokUZOXJklixZstf5P/3pT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2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMLtV2hfvHhxmpubM2jQoLS0tOT+++9/0fmdnZ2ZN29eRo8encbGxpx00km5+eab96tgAACoN/2rXbB8+fLMnj07ixcvzhlnnJGvfOUrmTRpUh577LGMGjVqr2suvPDC/O53v8uyZcvy2te+Nhs3bszOnTtfdvEAAFAPqg7t119/faZNm5bp06cnSRYtWpR77703S5YsycKFC3vN/8EPfpBVq1blySefzNFHH50kOeGEE15e1QAAUEeqCu07duzI6tWrM2fOnB7jra2tefDBB/e65p577sm4cePyuc99LrfddluOOOKIvPvd786nP/3pHH744Xtd09nZmc7Ozu7jrVu3Jkm6urrS1dVVTcmvGHv2dajub1/ogR4kelDv+0/0INGDet9/ogdJffSgmr01VCqVyr5O/u1vf5vjjjsuDzzwQCZMmNA9ft111+WrX/1qHn/88V5r/vIv/zI/+tGPcs455+STn/xkNm3alJkzZ+bss89+wfva58+fnwULFvQav/322zN48OB9LRcAAIq1ffv2XHTRRdmyZUuGDBnyonOrvj0mSRoaGnocVyqVXmN77N69Ow0NDfnGN76Ro446Ksnzt9j89V//dW688ca9Xm2fO3du2trauo+3bt2akSNHprW19SU39ErV1dWV9vb2nHvuuRkwYECty6kJPdCDRA/qff+JHiR6UO/7T/QgqY8e7LmbZF9UFdqHDRuWfv36ZcOGDT3GN27cmKampr2uGT58eI477rjuwJ4kY8aMSaVSyX//93/n5JNP7rWmsbExjY2NvcYHDBhwyH7R9qiHPb4UPdCDRA/qff+JHiR6UO/7T/QgObR7UM2+qnrk48CBA9PS0pL29vYe4+3t7T1ul/mfzjjjjPz2t7/Ns88+2z32y1/+MocddliOP/74ak4PAAB1qerntLe1teWmm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nrLPOygUXXJA1a9a87OIBAKAeVB3ar7/++kybNi3Tp0/PmDFjsmjRoowcOTJLlizZ6/xFixbl4x//eN761rfm5JNPznXXXZeTTz453/ve91528QAAUA+qCu07duzI6tWr09ra2mO8tbU1Dz744D79Hbt37862bdty9NFHV3NqAACoW/2rmbxp06bs2rUrTU1NPcabmpqyYcOGffo7vvCFL+S5557LhRde+IJzOjs709nZ2X28devWJElXV1e6urqqKfkVY8++DtX97Qs90INED+p9/4keJHrQl/S43B7Uw+ugmr1VFdr3aGho6HFcqVR6je3NHXfckfnz5+e73/1ujjnmmBect3DhwixYsKDX+MqVKzN48ODqC34FaW9vr3UJNacHepDoQb3vP9GDpNQevL7WBRxQK1as2I9VetCXynwdHBjbt2/f57lVhfZhw4alX79+va6qb9y4sdfV9/9t+fLlmTZtWr75zW/mnHPOedG5c+fOTVtbW/fx1q1bM3LkyLS2tmbIkCHVlPyK0dXVlfb29px77rkZMGBArcupCT3Qg0QP6n3/iR4kZfdg/p2/rnUJB9R5551X9Ro96Bslvw4OlD13k+yLqkL7wIED09LSkvb29vzVX/1V93h7e3ve8573vOC6O+64I1OnTs0dd9yR888//yXP09jYmMbGxl7jAwYMOGS/aHvUwx5fih7oQaIH9b7/RA8SPegL+lt+Dw7l10E1+6r69pi2trZcfPHFGTduXMaPH5+lS5dm/fr1mTFjRpLnr5I/88wz+drXvpbk+cA+ZcqUfPGLX8yf//mfd1+lP/zww3PUUUdVe3oAAKg7VYf2yZMnZ/PmzbnmmmvS0dGRsWPHZsWKFRk9enSSpKOjo8cz27/yla9k586dmTVrVmbNmtU9fskll+TWW299+TsAAIBD3H69EXXmzJmZOXPmXj/3v4P4j370o/05BQAA8P9U/cuVAACAviW0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcA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Ep7e3vlHe94R+WKK66odUl96lOf+lTl9NNPr3UZNfOJT3yicuaZZ9a6jKJcccUVlZNOOqmye/fuWpfSZ84///zK1KlTe4y9733vq3zoQx+qUUV9a/v27ZV+/fpV/uVf/qXH+Omnn16ZN29ejaoqgyvtNbZjx46sXr06ra2tPcZbW1vz4IMP1qgqamnLli1JkqOPPrrGldTGrl27cuedd+a5557L+PHja11On5o1a1bOP//8nHPOObUupWaeeOKJjBgxIs3NzfngBz+YJ598stYl9Zl77rkn48aNywc+8IEcc8wxefOb35x//ud/rnVZNbNjx458/etfz9SpU9PQ0FDrcvrMmWeemX/7t3/LL3/5yyTJL37xi/z4xz/OeeedV+PK+sbOnTuza9euDBo0qMf44Ycfnh//+Mc1qqoMVf9GVA6sTZs2ZdeuXWlqauox3tTUlA0bNtSoKmqlUqmkra0tZ555ZsaOHVvrcvrUI488kvHjx+dPf/pTXvWqV+Xb3/52Xv/619e6rD5z5513ZvXq1Xn44YdrXUrNvP3tb8/Xvva1vO51r8vvfve7XHvttZkwYUIeffTRDB06tNblHXRPPvlklixZkra2tlx99dX52c9+lssvvzyNjY2ZMmVKrcvrc9/5znfyxz/+MR/+8IdrXUqf+sQnPpEtW7bk1FNPTb9+/bJr16585jOfyd/8zd/UurQ+ceSRR2b8+PH59Kc/nTFjxqSpqSl33HFH/uM//iMnn3xyrcurKaG9EP/7KkKlUqmrKws876Mf/Wj+8z//sy6vJpxyyilZu3Zt/vjHP+auu+7KJZdcklWrVtVFcP/Nb36TK664IitXrux1dameTJo0qfvPb3jDGzJ+/PicdNJJ+epXv5q2trYaVtY3du/enXHjxuW6665Lkrz5zW/Oo48+miVLltRlaF+2bFkmTZqUESNG1LqUPrV8+fJ8/etfz+23357TTjsta9euzezZszNixIhccskltS6vT9x2222ZOnVqjjvuuPTr1y9vectbctFFF+XnP/95rUurKaG9xoYNG5Z+/fr1uqq+cePGXlffObRddtllueeee3Lffffl+OOPr3U5fW7gwIF57WtfmyQZN25cHnrooXzxi1/MV77ylRpXdvCtXr06GzduTEtLS/fYrl27ct999+WGG25IZ2dn+vXrV8MKa+OII47IG97whjzxxBO1LqVPDB8+vNcPqWPGjMldd91Vo4pq5+mnn86//uu/5u677651KX3uqquuypw5c/LBD34wyfM/wD799NNZuHBh3YT2k046KatWrcpzzz2XrVu3Zvjw4Zk8eXKam5trXVpNuae9xgYOHJiWlpbud8jv0d7engkTJtSoKvpSpVLJRz/60dx9993593//97r/R2mPSqWSzs7OWpfRJ975znfmkUceydq1a7s/xo0bl7/927/N2rVr6zKwJ0lnZ2fWrVuX4cOH17qUPnHGGWf0etzrL3/5y4wePbpGFdXOLbfckmOOOSbnn39+rUvpc9u3b89hh/WMZ/369aurRz7uccQRR2T48OH5wx/+kHvvvTfvec97al1STbnSXoC2trZcfPHFGTduXMaPH5+lS5dm/fr1mTFjRq1L6xPPPvtsfvWrX3UfP/XUU1m7dm2OPvrojBo1qoaV9Y1Zs2bl9ttvz3e/+90ceeSR3f/rctRRR+Xwww+vcXV94+qrr86kSZMycuTIbNu2LXfeeWd+9KMf5Qc/+EGtS+sTRx55ZK/3MBxxxBEZOnRoXb234WMf+1guuOCCjBo1Khs3bsy1116brVu31s3VxSuvvDITJkzIddddlwsvvDA/+9nPsnTp0ixdurTWpfWp3bt355Zbbskll1yS/v3rL6ZccMEF+cxnPpNRo0bltNNOy5o1a3L99ddn6tSptS6tz9x7772pVCo55ZRT8qtf/SpXXXVVTjnllFx66aW1Lq22avrsGrrdeOONldGjR1cGDhxYectb3lJXj/v74Q9/WEnS6+OSSy6pdWl9Ym97T1K55ZZbal1an5k6dWr39/9rXvOayjvf+c7KypUra11WTdXjIx8nT55cGT58eGXAgAGVESNGVN73vvdVHn300VqX1ae+973vVcaOHVtpbGysnHrqqZWlS5fWuqQ+d++991aSVB5//PFal1ITW7durVxxxRWVUaNGVQYNGlQ58cQTK/Pmzat0dnbWurQ+s3z58sqJJ55YGThwYOXYY4+tzJo1q/LHP/6x1mXVXEOlUqnU5scFAABgX7inHQAACie0AwBA4YR2AAAonNAOAACFE9oBAKBwQjsAABROaAcAgMIJ7QAAUDihHQAACie0AwBA4YR2AAAonNAOAACF+7/aav+LsxGWiQAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 900x400 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "random.seed(5)\n",
    "train_filter(4, kernel=[.1, .8, .1], sensor_accuracy=.9,\n",
    "         move_distance=4, do_print=True)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "There was a sensing error at time 1, but we are still quite confident in our position. \n",
    "\n",
    "Now let's run a very long simulation and see how the filter responds to errors."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAp8AAAHnCAYAAAD+cTY5AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAA9hAAAPYQGoP6dpAABSKElEQVR4nO3dfVyUZd738e+IMIgbuqIiKCK2mpabbVgbmKWpdIuZbe1ml21qyhYXpimV+dCV6PqwtZu3tYpWPmWWspm2PWA5966pqb1WDcpN1tx8oBRjxRKSwgGO+w9vuJsYdWaYOYXh83695o85OM/je8yDP38z58w5NmOMEQAAAGCBZpd6AQAAAGg6aD4BAABgGZpPAAAAWIbmEwAAAJah+QQAAIBlaD4BAABgGZpPAAAAWIbmEwAAAJah+QQAAIBlaD4hSVq1apVsNpuOHDlSO/bqq69q4cKFl2xNnqzDZrMpKyvL0vVIUllZmaZMmaKUlBS1a9fO43UYY3TTTTfJZrPpoYceqvP3EydO6KGHHlLXrl3VokULxcfHa9y4cSosLAzArQDgT9RR7wSqjhYVFWnMmDFq3769wsPDdfXVV2v58uUBuAXwFc0nJElDhw7Vrl27FBMTUzvWGIrmrl27lJaWZu2CJJWUlOiFF15QRUWF7rjjDo/3W7x4sf7973+7/VtFRYVuuukm5eTk6NFHH9WmTZs0ffp0vfPOO0pOTlZZWZmfVg8gEKij3glEHT19+rRuvPFG/e1vf9PTTz+tv/71r7r22muVlpamBQsW+GnlqK/ml3oBaBjatWundu3aWZL13XffqUWLFn6Z64YbbvDLPN6Kj4/X119/LZvNppMnT2rZsmUX3efIkSOaNm2aVq9erTvvvLPO37dv366DBw9q2bJlGjdunCSpf//+ioyM1MiRI/V//s//0a9+9Su/3xYA/kEd9U4g6uiSJUt06NAh7dmzR4mJiZKkW2+9VUVFRXryySc1duxYtW7d2t83BV7inU9Iqnu4qH///nrnnXd09OhR2Wy22kuNs2fPas6cOerRo4fsdrvatWun+++/X//5z39c5u3SpYtuu+02bdiwQb/4xS8UHh6uWbNmSTr36vWmm25S+/bt1bJlS/385z/X008/LafTWbv/xdbh7jDNP//5Tw0fPlw//elPFR4ermuuuUYvvfSSyzbvv/++bDab1q5dqxkzZig2NlaRkZEaNGiQDhw4cNH768fr8MQDDzygwYMHn7eBDA0NlSS1atXKZbymUIaHh3uVB8Ba1NFLX0d37Nih6Ojo2sazxm233aYzZ87o3Xff9SoPgcE7n3ArOztbDzzwgD7//HNt3LjR5W/V1dUaPny4tm/frilTpig5OVlHjx7VzJkz1b9/f+3Zs8flFflHH32kgoICPfHEE0pISFDLli0lSZ9//rlGjhyphIQEhYWF6eOPP9bcuXP1r3/9SytWrLjoOtw5cOCAkpOT1b59ez333HOKiorSmjVrNGbMGH311VeaMmWKy/bTp09X3759tWzZMpWWlurxxx/XsGHDVFBQoJCQkPrejbWWLVumf/zjH9q/f/95t+nbt68SExOVlZWl+Ph49ezZU5999pmmT5+ua6+9VoMGDfLbegAEHnXU+jp69uxZ2e32OuM1Y5988onuuecev60JPjKAMWblypVGkjl8+HDt2NChQ018fHydbdeuXWskmddff91lfPfu3UaSyc7Orh2Lj483ISEh5sCBAxfMr6qqMk6n06xevdqEhISYU6dOXXQdxhgjycycObP2+j333GPsdrspLCx02W7IkCEmIiLCfPPNN8YYY7Zs2WIkmdTUVJft/vKXvxhJZteuXRdc7w/95z//qbOOH/ryyy9Nq1atzPPPP++y7vHjx9fZtrS01AwbNsxIqr3079/flJSUeLweAJcGdfScS1lHJ02aZJo1a2aOHj3qMn7fffcZSeaBBx7weE0IHA67w2tvv/22WrdurWHDhqmysrL2cs0116hDhw56//33Xba/+uqr1b179zrz5OXl6fbbb1dUVJRCQkIUGhqqUaNGqaqqSp999plPa/v73/+ugQMHKi4uzmV8zJgxKi8v165du1zGb7/99jprlaSjR4/6lO9Oenq6evfurd/97ncX3M7pdGrEiBHKz8/Xiy++qG3btumll17SsWPHNHjwYJ0+fdpvawJwaVFHveNpHX3ggQcUGhqqe++9V59++qlKSkq0ePFi5eTkSJKaNaPtaQg47A6vffXVV/rmm28UFhbm9u8nT550uf7Db37WKCwsVL9+/XTFFVfo2WefVZcuXRQeHq5//OMfGj9+vL777juf1lZSUuI2LzY2tvbvPxQVFeVyvebQjK/5P7Z+/Xq9++67+uCDD+o0j2fPntU333yjli1bKjQ0VMuXL9emTZu0e/du9enTR5LUr18/3Xjjjbr88su1cOFCzZw50y/rAnBpUUc9500d7dmzpzZu3KgHH3xQvXr1kiTFxcXpmWee0YQJE9SxY0e/rAn1Q/MJr7Vt21ZRUVHn/eD2ZZdd5nLd3QfK33jjDZ05c0YbNmxQfHx87Xh+fn691hYVFaWioqI648ePH5d0bu1W+uc//6nKykq33yZ98cUX9eKLL2rjxo264447lJ+fr5CQEF177bUu23Xt2lVRUVH65z//adWyAQQYddRz3tRRSRoyZIiOHj2qf//736qsrFT37t31l7/8RZJ00003Wbl0nAfNJ87Lbre7feV62223ad26daqqqtIvf/lLn+auKaQ//GC4MUYvvviix+twZ+DAgdq4caOOHz9e+ypdklavXq2IiAjLTykyZswY9e/fv874gAEDdMcdd+jhhx+ufXUeGxurqqoq7d692+V+/eyzz1RSUqJOnTpZtWwAfkIdrT9v6mgNm82mbt26STr37uizzz6ra665hu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b99eQ4cO9XpfT5SXl6tZM9cSEhISEpBThNRo2bKlYmJi9PXXX+u9997T8OHDA5aFi6OOuqKO/n+e1NJA1dGFCxfqzjvvVEJCgmw2m/r37+/z7aCOBojl7W4Dsm7dOhMaGmqWL19u9u/fbyZNmmRatmxpjhw54reMsrIyk5eXZ/Ly8owks2DBApOXl2eOHj3qtwxjjPnv//5v06pVK/P++++boqKi2kt5eblH+xcXF5tdu3aZ77//vnZs6NChJj4+3mW7adOmmW3btpnDhw+bTz75xEyfPt00a9bMbN682Z83x0XNOtwdLtq1a1e9Dos98sgj5v333zeHDh0yH374obntttvMZZdddtHnwOHDh02rVq3MTTfdZNLS0owkM3PmTLfbjh492rRo0cIsX77chISEmAcffND85S9/MfPmzTMRERFmzZo1tdvOmTPH2Gw2M23aNLNlyxbz9NNPm7CwMPO73/3Oq9tVVVVlOnfubB5//HGv9vPG6NGjTceOHc3bb79tDh8+bDZs2GDatm1rpkyZ4vesd99912zatMkcOnTIbN682fTu3dtcf/315uzZs37PgnesqKPGWFNLqaO+86WWBqqOXnHFFebaa681Y8eONe3atTM333yzT7eJOho4Tbr5NMaYxYsXm/j4eBMWFmauvfZav59SY8uWLUZSncvo0aP9muMuQ5JZuXKlz3O6K5pjx46tvb/atWtnBg4c6HXB9LSQ/3gdgfis0ogRI0xMTIwJDQ01sbGx5s477/Toc1fV1dW1p9z4z3/+c9Gi2bJlS2OMMW+99Zbp1auXsdvtpkePHuaFF16o3e7kyZMmPDy8zqG3uXPnGpvN5tXnwd577z0jyRw4cMDjfbxVWlpqHn74YdO5c2cTHh5uunbtambMmGEqKir8npWTk2O6du1qwsLCTIcOHcz48ePNN9984/cc+CbQddQYa2opddR3vtTSQNRRY841jTWuuuoqn5tP6mjgNPnmE+esXLnSSDKHDx82xpz7ULq7IlyjoqKi9nMpYWFhpm3btmbMmDGmuLjYZd74+HgzdOhQ8/rrr5trrrnG2O322leRixYtMv369TPt2rUzERERplevXuapp55yeRV2sXW4K1b79u0zt99+u2ndurWx2+2md+/edT68XfMf2auvvmqmT59uYmJizGWXXWYGDhxo/vWvf3l133lTNC9kzZo1RpLZtWuXy/jx48eNJDN37lyv1gXAWtTRS19Hf6w+zScCp7l/Dt4j2GRnZ+uBBx7Q559/ro0bN7r8rbq6WsOHD9f27ds1ZcoUJScn6+jRo5o5c6b69++vPXv2qEWLFrXbf/TRRyooKKj9CbGWLVtKkj7//HONHDlSCQkJCgsL08cff6y5c+fqX//6l1asWHHRdbhz4MABJScnq3379nruuecUFRWlNWvWaMyYMfrqq680ZcoUl+2nT5+uvn37atmyZSotLdXjjz+uYcOGqaCgoPbzUP7w3XffqUOHDvrPf/6jmJgY3XHHHZo9e7bL+QP/+c9/SpJ+/vOfu+wbExOjtm3b1v4dQONAHbW+jqKRuNTdLxqGH79iN8b94SJjzp0aQpJ5/fXXXcZ3795tJJns7Ozasfj4eBMSEnLRwxZVVVXG6XSa1atXm5CQEHPq1KmLrsOYuq/Y77nnHmO3201hYaHLdkOGDDERERG1hxhqXrH/+Ft+f/nLX9y++3ghF3vFvmDBArNgwQKzefNms3nzZjNjxgwTERFhevToYcrKymq3+93vfmfsdrvbObp3725SUlI8XhMA61FHz7mUdfTHeOezYWqy33aH795++221bt1aw4YNU2VlZe3lmmuuUYcOHfT++++7bH/11Vere/fudebJy8vT7bffrqioKIWEhCg0NFSjRo1SVVVV7a89eOvvf/+7Bg4cqLi4OJfxMWPGqLy8XLt27XIZv/322+usVZKOHj3qU747kydP1uTJkzV48GANHjxYc+bM0erVq/Wvf/2rzi9zXOjXM/z9yxoALh3qqHe8qaNo+DjsDq999dVX+uabbxQWFub27ydPnnS57u5UG4WFherXr5+uuOIKPfvss+rSpYvCw8P1j3/8Q+PHj9d3333n09pKSkrc5sXGxtb+/YeioqJcrtvtdknyOd9Tv/rVr9SyZUt9+OGHLmv5/vvvVV5eroiICJftT506pcTExICuCYB1qKP1566OonGg+YTX2rZtq6ioKL377rtu/37ZZZe5XHf3jt0bb7yhM2fOaMOGDS7nZ8vPz6/X2qKiolRUVFRn/Pjx45LOrb2hMMa4nN+t5rOe+/bt0y9/+cva8RMnTujkyZPq1auX5WsEEBjUUf/4cR1F40DzifOy2+1uX7nedtttWrdunaqqqlyaJG/UFNKaV8jSuSLi7vDJ+dbhzsCBA7Vx40YdP3689lW6JK1evVoRERG64YYbfFqvv61fv17l5eUu6/lf/+t/KTw8XKtWrXK5X2tOXH3HHXdcgpUCqA/qaOC4q6NoHGg+cV4///nPtWHDBi1ZskSJiYlq1qyZ+vTpo3vuuUevvPKKUlNT9fDDD+v6669XaGiovvzyS23ZskXDhw/Xr371qwvOPXjwYIWFhem//uu/NGXKFH3//fdasmSJvv76a4/X4c7MmTP19ttva8CAAXryySfVpk0bvfLKK3rnnXf09NNPq1WrVn65byRp06ZNOnPmjMrKyiRJ+/fv1/r16yVJqampioiI0NGjRzVy5Ejdc889+tnPfiabzaatW7dq4cKFuuqqq5SWllY7X5s2bfTEE0/of/7nf9SmTRulpKRo9+7dysrKUlpamq688kq/rR2ANaijF+bvOipJe/bsqf2VqdLSUhljaue87rrr6vyqHC6BS/p1JzQY7r6leerUKfPrX//atG7d2thsNpfzwjmdTvOnP/3J9O7d24SHh5uf/OQnpkePHubBBx80Bw8erN2u5vx07rz11lu1+3fs2NE89thjZtOmTUaS2bJli0fr0HnOTzds2DDTqlUrExYWZnr37l3nJNE139J87bXXXMYPHz7s8Uml4+Pjz3tS6pr78dSpU+ZXv/qV6dKli2nRooUJCwsz3bp1M1OmTDnvyX2fffZZ0717dxMWFmY6d+5sZs6cyS/5AI0AdfScS11HR48eHZAfDID/2IwxJvAtLgAAACDxKV0AAABYhuYTAAAAlqH5BAAAgGW8bj63bdumYcOGKTY2VjabTW+88cZF99m6dasSExMVHh6url27aunSpb6sFQCCAnUUQFPmdfN55swZ9e7dW4sWLfJo+8OHDys1NVX9+vVTXl6epk+frokTJ+r111/3erEAEAyoowCasnp9291ms2njxo0XPPn1448/rjfffFMFBQW1Y+np6fr444/r/D4sADQ11F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/YpPz+/9tKnTx/de++9ys/PV0hIiF/zalRUVKigoEAxMTF+n7tv3751Ttvy2WefKT4+3u9ZkrRy5Uq1b99eQ4cODcj85eXlatbMtYSEhIQE5BQhNVq2bKmYmBh9/fXXeu+99zR8+PCAZeHiqKP+zQ6WOioFrpZSR+uvQdRRy9vdBmTdunUmNDTULF++3Ozfv99MmjTJtGzZ0hw5csRvGWVlZSYvL8/k5eUZSWbBggUmLy/PHD161G8Zxhjz3//936ZVq1bm/fffN0VFRbWX8vJyv+ZMmzbNbNu2zRw+fNh88sknZvr06aZZs2Zm8+bNfs1xJxCHix555BHz/vvvm0OHDpkPP/zQ3Hbbbeayyy7z63Ogxj/+8Q/TvHlzM3fuXHPw4EHzyiuvmIiICLNmzRq/Z1VVVZnOnTubxx9/3O9z1xg9erTp2LGjefvtt83hw4fNhg0bTNu2bc2UKVP8nvXuu++aTZs2mUOHDpnNmzeb3r17m+uvv96cPXvW71nwjhV11Bhrail11HdW1VLqqO8aUh1t0s2nMcYsXrzYxMfHm7CwMHPttdf6/ZQaW7ZsMZLqXEaPHu3XHHcZkszKlSv9mjN27Nja+6tdu3Zm4MCBlhRMYwJTNEeMGGFiYmJMaGioiY2NNXfeeaffP3f1Q2+99Zbp1auXsdvtpkePHuaFF14ISM57771nJJkDBw4EZH5jjCktLTUPP/yw6dy5swkPDzddu3Y1M2bMMBUVFX7PysnJMV27djVhYWGmQ4cOZvz48eabb77xew58E+g6aow1tZQ66jsrayl11DcNqY7ajDHGqndZAQAA0LQ12c98AgAAwHo0nwAAALAMzScAAAAsQ/MJAAAAy9B8AgAAwDI0nwAAALAMzScAAAAsQ/MJAAAAy9B8AgAAwDI0nwAAALAMzScAAAAs838BsDv4HcTP9CMAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 800x550 with 4 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "with figsize(y=5.5):\n",
    "    for i in range (4):\n",
    "        random.seed(3)\n",
    "        plt.subplot(221+i)\n",
    "        train_filter(148+i, kernel=[.1, .8, .1], \n",
    "                     sensor_accuracy=.8,\n",
    "                     move_distance=4, do_print=False)\n",
    "        plt.title (f'iteration {148 + i}')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "We can see that there was a problem on iteration 149 as the confidence degrades. But within a few iterations the filter is able to correct itself and regain confidence in the estimated position."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Bayes Theorem and the Total Probability Theorem"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "We developed the math in this chapter merely by reasoning about the information we have at each moment. In the process we discovered [*Bayes' Theorem*](https://en.wikipedia.org/wiki/Bayes%27_theorem) and the [*Total Probability Theorem*](https://en.wikipedia.org/wiki/Law_of_total_probability).\n",
    "\n",
    "Bayes theorem tells us how to compute the probability of an event given previous information. \n",
    "\n",
    "We implemented the `update()` function with this probability calculation:\n",
    "\n",
    "$$ \\mathtt{posterior} = \\frac{\\mathtt{likelihood}\\times \\mathtt{prior}}{\\mathtt{normalization\\, factor}}$$ \n",
    "\n",
    "We haven't developed the mathematics to discuss Bayes yet, but this is Bayes' theorem. Every filter in this book is an expression of Bayes' theorem. In the next chapter we will develop the mathematics, but in many ways that obscures the simple idea expressed in this equation:\n",
    "\n",
    "$$ updated\\,knowledge = \\big\\|likelihood\\,of\\,new\\,knowledge\\times prior\\, knowledge \\big\\|$$\n",
    "\n",
    "where $\\| \\cdot\\|$ expresses normalizing the term.\n",
    "\n",
    "We came to this with simple reasoning about a dog walking down a hallway. Yet, as we will see the same equation applies to a universe of filtering problems. We will use this equation in every subsequent chapter.\n",
    "\n",
    "Likewise, the `predict()` step computes the total probability of multiple possible events. This is known as the *Total Probability Theorem* in statistics, and we will also cover this in the next chapter after developing some supporting math.\n",
    "\n",
    "For now I need you to understand that Bayes' theorem is a formula to incorporate new information into existing information."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Summary\n",
    "\n",
    "The code is very short, but the result is impressive! We have implemented a form of a Bayesian filter. We have learned how to start with no information and derive information from noisy sensors. Even though the sensors in this chapter are very noisy (most sensors are more than 80% accurate, for example) we quickly converge on the most likely position for our dog. We have learned how the predict step always degrades our knowledge, but the addition of another measurement, even when it might have noise in it, improves our knowledge, allowing us to converge on the most likely result.\n",
    "\n",
    "This book is mostly about the Kalman filter. The math it uses is different, but the logic is exactly the same as used in this chapter. It uses Bayesian reasoning to form estimates from a combination of measurements and process models. \n",
    "\n",
    "**If you can understand this chapter you will be able to understand and implement Kalman filters.** I cannot stress this enough. If anything is murky, go back and reread this chapter and play with the code. The rest of this book will build on the algorithms that we use here. If you don't understand why this filter works you will have little success with the rest of the material. However, if you grasp the fundamental insight - multiplying probabilities when we measure, and shifting probabilities when we update leads to a converging solution - then after learning a bit of math you are ready to implement a Kalman filter."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## References\n",
    "\n",
    " * [1] D. Fox, W. Burgard, and S. Thrun. \"Monte carlo localization: Efficient position estimation for mobile robots.\" In *Journal of Artifical Intelligence Research*, 1999.\n",
    " \n",
    " http://www.cs.cmu.edu/afs/cs/project/jair/pub/volume11/fox99a-html/jair-localize.html\n",
    "\n",
    "\n",
    " * [2] Dieter Fox, et. al. \"Bayesian Filters for Location Estimation\". In *IEEE Pervasive Computing*, September 2003.\n",
    " \n",
    " http://swarmlab.unimaas.nl/wp-content/uploads/2012/07/fox2003bayesian.pdf\n",
    " \n",
    " \n",
    " * [3] Sebastian Thrun. \"Artificial Intelligence for Robotics\".\n",
    " \n",
    " https://www.udacity.com/course/cs373\n",
    " \n",
    " \n",
    " * [4] Khan Acadamy. \"Introduction to the Convolution\"\n",
    " \n",
    " https://www.khanacademy.org/math/differential-equations/laplace-transform/convolution-integral/v/introduction-to-the-convolution\n",
    " \n",
    " \n",
    "* [5] Wikipedia. \"Convolution\"\n",
    "\n",
    " http://en.wikipedia.org/wiki/Convolution\n",
    "\n",
    "* [6] Wikipedia. \"Law of total probability\"\n",
    "\n",
    "  http://en.wikipedia.org/wiki/Law_of_total_probability\n",
    "  \n",
    "* [7] Wikipedia. \"Time Evolution\"\n",
    "\n",
    " https://en.wikipedia.org/wiki/Time_evolution\n",
    " \n",
    "* [8] We need to rethink how we teach statistics from the ground up\n",
    " \n",
    " http://www.statslife.org.uk/opinion/2405-we-need-to-rethink-how-we-teach-statistics-from-the-ground-up"
   ]
  }
 ],
 "metadata": {
  "anaconda-cloud": {},
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.7"
  },
  "widgets": {
   "application/vnd.jupyter.widget-state+json": {
    "state": {
     "1ea315f115ff43d8aedcd574bbeed410": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "IntSliderModel",
      "state": {
       "_dom_classes": [],
       "_model_module": "@jupyter-widgets/controls",
       "_model_module_version": "1.5.0",
       "_model_name": "IntSliderModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/controls",
       "_view_module_version": "1.5.0",
       "_view_name": "IntSliderView",
       "continuous_update": true,
       "description": "step",
       "description_tooltip": null,
       "disabled": false,
       "layout": "IPY_MODEL_51963e73dba4487f95d2e6c2b9a9c71a",
       "max": 100,
       "min": 0,
       "orientation": "horizontal",
       "readout": true,
       "readout_format": "d",
       "step": 1,
       "style": "IPY_MODEL_bf7a2628623c422bbdc7983f76a57c75",
       "value": 1
      }
     },
     "24a3f8a7d3c44508a9d0ae15bb97df92": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {
       "_model_module": "@jupyter-widgets/base",
       "_model_module_version": "1.2.0",
       "_model_name": "LayoutModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "LayoutView",
       "align_content": null,
       "align_items": null,
       "align_self": null,
       "border": null,
       "bottom": null,
       "display": null,
       "flex": null,
       "flex_flow": null,
       "grid_area": null,
       "grid_auto_columns": null,
       "grid_auto_flow": null,
       "grid_auto_rows": null,
       "grid_column": null,
       "grid_gap": null,
       "grid_row": null,
       "grid_template_areas": null,
       "grid_template_columns": null,
       "grid_template_rows": null,
       "height": null,
       "justify_content": null,
       "justify_items": null,
       "left": null,
       "margin": null,
       "max_height": null,
       "max_width": null,
       "min_height": null,
       "min_width": null,
       "object_fit": null,
       "object_position": null,
       "order": null,
       "overflow": null,
       "overflow_x": null,
       "overflow_y": null,
       "padding": null,
       "right": null,
       "top": null,
       "visibility": null,
       "width": null
      }
     },
     "24f0f28eff1947719418be9532a5054c": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {
       "_model_module": "@jupyter-widgets/base",
       "_model_module_version": "1.2.0",
       "_model_name": "LayoutModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "LayoutView",
       "align_content": null,
       "align_items": null,
       "align_self": null,
       "border": null,
       "bottom": null,
       "display": null,
       "flex": null,
       "flex_flow": null,
       "grid_area": null,
       "grid_auto_columns": null,
       "grid_auto_flow": null,
       "grid_auto_rows": null,
       "grid_column": null,
       "grid_gap": null,
       "grid_row": null,
       "grid_template_areas": null,
       "grid_template_columns": null,
       "grid_template_rows": null,
       "height": null,
       "justify_content": null,
       "justify_items": null,
       "left": null,
       "margin": null,
       "max_height": null,
       "max_width": null,
       "min_height": null,
       "min_width": null,
       "object_fit": null,
       "object_position": null,
       "order": null,
       "overflow": null,
       "overflow_x": null,
       "overflow_y": null,
       "padding": null,
       "right": null,
       "top": null,
       "visibility": null,
       "width": null
      }
     },
     "376e66cbf1e74103a1a93d5ec7611004": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "_dom_classes": [],
       "_model_module": "@jupyter-widgets/output",
       "_model_module_version": "1.0.0",
       "_model_name": "OutputModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/output",
       "_view_module_version": "1.0.0",
       "_view_name": "OutputView",
       "layout": "IPY_MODEL_24f0f28eff1947719418be9532a5054c",
       "msg_id": "",
       "outputs": []
      }
     },
     "4825caa46e18450f9afcba67c27cbeba": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "IntSliderModel",
      "state": {
       "_dom_classes": [],
       "_model_module": "@jupyter-widgets/controls",
       "_model_module_version": "1.5.0",
       "_model_name": "IntSliderModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/controls",
       "_view_module_version": "1.5.0",
       "_view_name": "IntSliderView",
       "continuous_update": true,
       "description": "time_step",
       "description_tooltip": null,
       "disabled": false,
       "layout": "IPY_MODEL_6409d65c66d5483ab1dff92c7199efb0",
       "max": 19,
       "min": 0,
       "orientation": "horizontal",
       "readout": true,
       "readout_format": "d",
       "step": 1,
       "style": "IPY_MODEL_c448c06a3e904b0d811dd099733429bc",
       "value": 0
      }
     },
     "48c69b49621547b9972c8eb7cddfa10e": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "_dom_classes": [],
       "_model_module": "@jupyter-widgets/output",
       "_model_module_version": "1.0.0",
       "_model_name": "OutputModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/output",
       "_view_module_version": "1.0.0",
       "_view_name": "OutputView",
       "layout": "IPY_MODEL_4fbf3d96470d4f168fdd3af62ae85189",
       "msg_id": "",
       "outputs": []
      }
     },
     "4fbf3d96470d4f168fdd3af62ae85189": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {
       "_model_module": "@jupyter-widgets/base",
       "_model_module_version": "1.2.0",
       "_model_name": "LayoutModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "LayoutView",
       "align_content": null,
       "align_items": null,
       "align_self": null,
       "border": null,
       "bottom": null,
       "display": null,
       "flex": null,
       "flex_flow": null,
       "grid_area": null,
       "grid_auto_columns": null,
       "grid_auto_flow": null,
       "grid_auto_rows": null,
       "grid_column": null,
       "grid_gap": null,
       "grid_row": null,
       "grid_template_areas": null,
       "grid_template_columns": null,
       "grid_template_rows": null,
       "height": null,
       "justify_content": null,
       "justify_items": null,
       "left": null,
       "margin": null,
       "max_height": null,
       "max_width": null,
       "min_height": null,
       "min_width": null,
       "object_fit": null,
       "object_position": null,
       "order": null,
       "overflow": null,
       "overflow_x": null,
       "overflow_y": null,
       "padding": null,
       "right": null,
       "top": null,
       "visibility": null,
       "width": null
      }
     },
     "51963e73dba4487f95d2e6c2b9a9c71a": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {
       "_model_module": "@jupyter-widgets/base",
       "_model_module_version": "1.2.0",
       "_model_name": "LayoutModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "LayoutView",
       "align_content": null,
       "align_items": null,
       "align_self": null,
       "border": null,
       "bottom": null,
       "display": null,
       "flex": null,
       "flex_flow": null,
       "grid_area": null,
       "grid_auto_columns": null,
       "grid_auto_flow": null,
       "grid_auto_rows": null,
       "grid_column": null,
       "grid_gap": null,
       "grid_row": null,
       "grid_template_areas": null,
       "grid_template_columns": null,
       "grid_template_rows": null,
       "height": null,
       "justify_content": null,
       "justify_items": null,
       "left": null,
       "margin": null,
       "max_height": null,
       "max_width": null,
       "min_height": null,
       "min_width": null,
       "object_fit": null,
       "object_position": null,
       "order": null,
       "overflow": null,
       "overflow_x": null,
       "overflow_y": null,
       "padding": null,
       "right": null,
       "top": null,
       "visibility": null,
       "width": null
      }
     },
     "557aede106aa460da09898120cf2c111": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {
       "_model_module": "@jupyter-widgets/base",
       "_model_module_version": "1.2.0",
       "_model_name": "LayoutModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "LayoutView",
       "align_content": null,
       "align_items": null,
       "align_self": null,
       "border": null,
       "bottom": null,
       "display": null,
       "flex": null,
       "flex_flow": null,
       "grid_area": null,
       "grid_auto_columns": null,
       "grid_auto_flow": null,
       "grid_auto_rows": null,
       "grid_column": null,
       "grid_gap": null,
       "grid_row": null,
       "grid_template_areas": null,
       "grid_template_columns": null,
       "grid_template_rows": null,
       "height": null,
       "justify_content": null,
       "justify_items": null,
       "left": null,
       "margin": null,
       "max_height": null,
       "max_width": null,
       "min_height": null,
       "min_width": null,
       "object_fit": null,
       "object_position": null,
       "order": null,
       "overflow": null,
       "overflow_x": null,
       "overflow_y": null,
       "padding": null,
       "right": null,
       "top": null,
       "visibility": null,
       "width": null
      }
     },
     "6127afe680be4cc5bd3e14626d4493f0": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "_model_module": "@jupyter-widgets/controls",
       "_model_module_version": "1.5.0",
       "_model_name": "VBoxModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/controls",
       "_view_module_version": "1.5.0",
       "_view_name": "VBoxView",
       "box_style": "",
       "children": [
        "IPY_MODEL_7f99b7560aa04802a5b1b03b5e4ad81e",
        "IPY_MODEL_48c69b49621547b9972c8eb7cddfa10e"
       ],
       "layout": "IPY_MODEL_557aede106aa460da09898120cf2c111"
      }
     },
     "6409d65c66d5483ab1dff92c7199efb0": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {
       "_model_module": "@jupyter-widgets/base",
       "_model_module_version": "1.2.0",
       "_model_name": "LayoutModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "LayoutView",
       "align_content": null,
       "align_items": null,
       "align_self": null,
       "border": null,
       "bottom": null,
       "display": null,
       "flex": null,
       "flex_flow": null,
       "grid_area": null,
       "grid_auto_columns": null,
       "grid_auto_flow": null,
       "grid_auto_rows": null,
       "grid_column": null,
       "grid_gap": null,
       "grid_row": null,
       "grid_template_areas": null,
       "grid_template_columns": null,
       "grid_template_rows": null,
       "height": null,
       "justify_content": null,
       "justify_items": null,
       "left": null,
       "margin": null,
       "max_height": null,
       "max_width": null,
       "min_height": null,
       "min_width": null,
       "object_fit": null,
       "object_position": null,
       "order": null,
       "overflow": null,
       "overflow_x": null,
       "overflow_y": null,
       "padding": null,
       "right": null,
       "top": null,
       "visibility": null,
       "width": null
      }
     },
     "7e810cc52ae044aba08c2672377d716c": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {
       "_model_module": "@jupyter-widgets/base",
       "_model_module_version": "1.2.0",
       "_model_name": "LayoutModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "LayoutView",
       "align_content": null,
       "align_items": null,
       "align_self": null,
       "border": null,
       "bottom": null,
       "display": null,
       "flex": null,
       "flex_flow": null,
       "grid_area": null,
       "grid_auto_columns": null,
       "grid_auto_flow": null,
       "grid_auto_rows": null,
       "grid_column": null,
       "grid_gap": null,
       "grid_row": null,
       "grid_template_areas": null,
       "grid_template_columns": null,
       "grid_template_rows": null,
       "height": null,
       "justify_content": null,
       "justify_items": null,
       "left": null,
       "margin": null,
       "max_height": null,
       "max_width": null,
       "min_height": null,
       "min_width": null,
       "object_fit": null,
       "object_position": null,
       "order": null,
       "overflow": null,
       "overflow_x": null,
       "overflow_y": null,
       "padding": null,
       "right": null,
       "top": null,
       "visibility": null,
       "width": null
      }
     },
     "7f99b7560aa04802a5b1b03b5e4ad81e": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "IntSliderModel",
      "state": {
       "_dom_classes": [],
       "_model_module": "@jupyter-widgets/controls",
       "_model_module_version": "1.5.0",
       "_model_name": "IntSliderModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/controls",
       "_view_module_version": "1.5.0",
       "_view_name": "IntSliderView",
       "continuous_update": true,
       "description": "step",
       "description_tooltip": null,
       "disabled": false,
       "layout": "IPY_MODEL_7e810cc52ae044aba08c2672377d716c",
       "max": 12,
       "min": 0,
       "orientation": "horizontal",
       "readout": true,
       "readout_format": "d",
       "step": 1,
       "style": "IPY_MODEL_d4f45abe59a24e19a6168202f72b914e",
       "value": 12
      }
     },
     "9260e86291ea4ceabb18583e1b480bd9": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {
       "_model_module": "@jupyter-widgets/base",
       "_model_module_version": "1.2.0",
       "_model_name": "LayoutModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "LayoutView",
       "align_content": null,
       "align_items": null,
       "align_self": null,
       "border": null,
       "bottom": null,
       "display": null,
       "flex": null,
       "flex_flow": null,
       "grid_area": null,
       "grid_auto_columns": null,
       "grid_auto_flow": null,
       "grid_auto_rows": null,
       "grid_column": null,
       "grid_gap": null,
       "grid_row": null,
       "grid_template_areas": null,
       "grid_template_columns": null,
       "grid_template_rows": null,
       "height": null,
       "justify_content": null,
       "justify_items": null,
       "left": null,
       "margin": null,
       "max_height": null,
       "max_width": null,
       "min_height": null,
       "min_width": null,
       "object_fit": null,
       "object_position": null,
       "order": null,
       "overflow": null,
       "overflow_x": null,
       "overflow_y": null,
       "padding": null,
       "right": null,
       "top": null,
       "visibility": null,
       "width": null
      }
     },
     "964107123dbf442593d2a43411c04268": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {
       "_model_module": "@jupyter-widgets/base",
       "_model_module_version": "1.2.0",
       "_model_name": "LayoutModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "LayoutView",
       "align_content": null,
       "align_items": null,
       "align_self": null,
       "border": null,
       "bottom": null,
       "display": null,
       "flex": null,
       "flex_flow": null,
       "grid_area": null,
       "grid_auto_columns": null,
       "grid_auto_flow": null,
       "grid_auto_rows": null,
       "grid_column": null,
       "grid_gap": null,
       "grid_row": null,
       "grid_template_areas": null,
       "grid_template_columns": null,
       "grid_template_rows": null,
       "height": null,
       "justify_content": null,
       "justify_items": null,
       "left": null,
       "margin": null,
       "max_height": null,
       "max_width": null,
       "min_height": null,
       "min_width": null,
       "object_fit": null,
       "object_position": null,
       "order": null,
       "overflow": null,
       "overflow_x": null,
       "overflow_y": null,
       "padding": null,
       "right": null,
       "top": null,
       "visibility": null,
       "width": null
      }
     },
     "b51e90e175e14117b4c0727749c1047d": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {
       "_model_module": "@jupyter-widgets/base",
       "_model_module_version": "1.2.0",
       "_model_name": "LayoutModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "LayoutView",
       "align_content": null,
       "align_items": null,
       "align_self": null,
       "border": null,
       "bottom": null,
       "display": null,
       "flex": null,
       "flex_flow": null,
       "grid_area": null,
       "grid_auto_columns": null,
       "grid_auto_flow": null,
       "grid_auto_rows": null,
       "grid_column": null,
       "grid_gap": null,
       "grid_row": null,
       "grid_template_areas": null,
       "grid_template_columns": null,
       "grid_template_rows": null,
       "height": null,
       "justify_content": null,
       "justify_items": null,
       "left": null,
       "margin": null,
       "max_height": null,
       "max_width": null,
       "min_height": null,
       "min_width": null,
       "object_fit": null,
       "object_position": null,
       "order": null,
       "overflow": null,
       "overflow_x": null,
       "overflow_y": null,
       "padding": null,
       "right": null,
       "top": null,
       "visibility": null,
       "width": null
      }
     },
     "bf7a2628623c422bbdc7983f76a57c75": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SliderStyleModel",
      "state": {
       "_model_module": "@jupyter-widgets/controls",
       "_model_module_version": "1.5.0",
       "_model_name": "SliderStyleModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "StyleView",
       "description_width": "",
       "handle_color": null
      }
     },
     "c383bd000ae248f0adeec4825dc0923b": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SliderStyleModel",
      "state": {
       "_model_module": "@jupyter-widgets/controls",
       "_model_module_version": "1.5.0",
       "_model_name": "SliderStyleModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "StyleView",
       "description_width": "",
       "handle_color": null
      }
     },
     "c448c06a3e904b0d811dd099733429bc": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SliderStyleModel",
      "state": {
       "_model_module": "@jupyter-widgets/controls",
       "_model_module_version": "1.5.0",
       "_model_name": "SliderStyleModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "StyleView",
       "description_width": "",
       "handle_color": null
      }
     },
     "d13d51f518a64cbfb548a3ac5fe0412d": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "_model_module": "@jupyter-widgets/controls",
       "_model_module_version": "1.5.0",
       "_model_name": "VBoxModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/controls",
       "_view_module_version": "1.5.0",
       "_view_name": "VBoxView",
       "box_style": "",
       "children": [
        "IPY_MODEL_e99d98efa98146f7ae449672d8f4da71",
        "IPY_MODEL_e67fb12631604743a7b242a173e2250c"
       ],
       "layout": "IPY_MODEL_24a3f8a7d3c44508a9d0ae15bb97df92"
      }
     },
     "d4f45abe59a24e19a6168202f72b914e": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SliderStyleModel",
      "state": {
       "_model_module": "@jupyter-widgets/controls",
       "_model_module_version": "1.5.0",
       "_model_name": "SliderStyleModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "StyleView",
       "description_width": "",
       "handle_color": null
      }
     },
     "e67fb12631604743a7b242a173e2250c": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "_dom_classes": [],
       "_model_module": "@jupyter-widgets/output",
       "_model_module_version": "1.0.0",
       "_model_name": "OutputModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/output",
       "_view_module_version": "1.0.0",
       "_view_name": "OutputView",
       "layout": "IPY_MODEL_9260e86291ea4ceabb18583e1b480bd9",
       "msg_id": "",
       "outputs": []
      }
     },
     "e99d98efa98146f7ae449672d8f4da71": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "IntSliderModel",
      "state": {
       "_dom_classes": [],
       "_model_module": "@jupyter-widgets/controls",
       "_model_module_version": "1.5.0",
       "_model_name": "IntSliderModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/controls",
       "_view_module_version": "1.5.0",
       "_view_name": "IntSliderView",
       "continuous_update": true,
       "description": "step",
       "description_tooltip": null,
       "disabled": false,
       "layout": "IPY_MODEL_fb2dce3f803243b3a6a4619bc0099cc2",
       "max": 100,
       "min": 0,
       "orientation": "horizontal",
       "readout": true,
       "readout_format": "d",
       "step": 1,
       "style": "IPY_MODEL_c383bd000ae248f0adeec4825dc0923b",
       "value": 1
      }
     },
     "ecba7b7412dc454d9c606867bb343235": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "_model_module": "@jupyter-widgets/controls",
       "_model_module_version": "1.5.0",
       "_model_name": "VBoxModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/controls",
       "_view_module_version": "1.5.0",
       "_view_name": "VBoxView",
       "box_style": "",
       "children": [
        "IPY_MODEL_4825caa46e18450f9afcba67c27cbeba",
        "IPY_MODEL_ecf2533746d74ee18336f04b86e21736"
       ],
       "layout": "IPY_MODEL_fa98c8f5d70f48af9968b14005fa2274"
      }
     },
     "ecf2533746d74ee18336f04b86e21736": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "_dom_classes": [],
       "_model_module": "@jupyter-widgets/output",
       "_model_module_version": "1.0.0",
       "_model_name": "OutputModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/output",
       "_view_module_version": "1.0.0",
       "_view_name": "OutputView",
       "layout": "IPY_MODEL_964107123dbf442593d2a43411c04268",
       "msg_id": "",
       "outputs": []
      }
     },
     "fa98c8f5d70f48af9968b14005fa2274": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {
       "_model_module": "@jupyter-widgets/base",
       "_model_module_version": "1.2.0",
       "_model_name": "LayoutModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "LayoutView",
       "align_content": null,
       "align_items": null,
       "align_self": null,
       "border": null,
       "bottom": null,
       "display": null,
       "flex": null,
       "flex_flow": null,
       "grid_area": null,
       "grid_auto_columns": null,
       "grid_auto_flow": null,
       "grid_auto_rows": null,
       "grid_column": null,
       "grid_gap": null,
       "grid_row": null,
       "grid_template_areas": null,
       "grid_template_columns": null,
       "grid_template_rows": null,
       "height": null,
       "justify_content": null,
       "justify_items": null,
       "left": null,
       "margin": null,
       "max_height": null,
       "max_width": null,
       "min_height": null,
       "min_width": null,
       "object_fit": null,
       "object_position": null,
       "order": null,
       "overflow": null,
       "overflow_x": null,
       "overflow_y": null,
       "padding": null,
       "right": null,
       "top": null,
       "visibility": null,
       "width": null
      }
     },
     "fb2dce3f803243b3a6a4619bc0099cc2": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {
       "_model_module": "@jupyter-widgets/base",
       "_model_module_version": "1.2.0",
       "_model_name": "LayoutModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/base",
       "_view_module_version": "1.2.0",
       "_view_name": "LayoutView",
       "align_content": null,
       "align_items": null,
       "align_self": null,
       "border": null,
       "bottom": null,
       "display": null,
       "flex": null,
       "flex_flow": null,
       "grid_area": null,
       "grid_auto_columns": null,
       "grid_auto_flow": null,
       "grid_auto_rows": null,
       "grid_column": null,
       "grid_gap": null,
       "grid_row": null,
       "grid_template_areas": null,
       "grid_template_columns": null,
       "grid_template_rows": null,
       "height": null,
       "justify_content": null,
       "justify_items": null,
       "left": null,
       "margin": null,
       "max_height": null,
       "max_width": null,
       "min_height": null,
       "min_width": null,
       "object_fit": null,
       "object_position": null,
       "order": null,
       "overflow": null,
       "overflow_x": null,
       "overflow_y": null,
       "padding": null,
       "right": null,
       "top": null,
       "visibility": null,
       "width": null
      }
     },
     "fd3a9bcbc55f432dad319c4248e1f8ef": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "_model_module": "@jupyter-widgets/controls",
       "_model_module_version": "1.5.0",
       "_model_name": "VBoxModel",
       "_view_count": null,
       "_view_module": "@jupyter-widgets/controls",
       "_view_module_version": "1.5.0",
       "_view_name": "VBoxView",
       "box_style": "",
       "children": [
        "IPY_MODEL_1ea315f115ff43d8aedcd574bbeed410",
        "IPY_MODEL_376e66cbf1e74103a1a93d5ec7611004"
       ],
       "layout": "IPY_MODEL_b51e90e175e14117b4c0727749c1047d"
      }
     }
    },
    "version_major": 2,
    "version_minor": 0
   }
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
